Commit 83433593 authored by Miguel Esteva's avatar Miguel Esteva

Rstudio start fix

parent 83756704
......@@ -49,8 +49,7 @@ then
sed -i "/mount --bind \/stornext\/General\/tmpdata \/wehisan\/tmpgeneral/d" /etc/rc.local
sed -i "/\/etc\/init.d\/rstudio-server restart/d" /etc/rc.local
echo "# Restart Rstudio" >> /etc/rc.local
echo "/etc/init.d/rstudio-server restart" >> /etc/rc.local
echo "/usr/sbin/rstudio-server start" >> /etc/rc.local
# Install the RPMS
yum -y --nogpgcheck localinstall ./6/*.rpm
......@@ -98,7 +97,6 @@ then
mkdir -p /stornext/System_real
echo "/stornext/System_real localhost(rw,no_root_squash)" > /etc/exports
echo "# NFS fixes and new mounts" >> /etc/rc.local
echo "service nfs start" >> /etc/rc.local
echo "mount localhost:/stornext/System_real /stornext/System" >> /etc/rc.local
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment