aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xfix_var_run.sh6
-rwxr-xr-xinstall_opensim.sh4
2 files changed, 7 insertions, 3 deletions
diff --git a/fix_var_run.sh b/fix_var_run.sh
new file mode 100755
index 0000000..97567cb
--- /dev/null
+++ b/fix_var_run.sh
@@ -0,0 +1,6 @@
1# Create the opensim run dir.
2mkdir -p /var/run/opensim
3chown opensim:opensim /var/run/opensim
4chmod ug+rwx /var/run/opensim
5chmod o-rwx /var/run/opensim
6chmod g+s /var/run/opensim
diff --git a/install_opensim.sh b/install_opensim.sh
index 1967e36..42472fd 100755
--- a/install_opensim.sh
+++ b/install_opensim.sh
@@ -40,9 +40,7 @@ sudo chmod 644 /home/opensim/.tmux.conf
40sudo mkdir -p /var/log/opensim 40sudo mkdir -p /var/log/opensim
41sudo chown opensim:opensim /var/log/opensim 41sudo chown opensim:opensim /var/log/opensim
42sudo chmod 757 /var/log/opensim 42sudo chmod 757 /var/log/opensim
43sudo mkdir -p /var/run/opensim 43sudo ./fix_var_run.sh
44sudo chown opensim:opensim /var/run/opensim
45sudo chmod 42770 /var/run/opensim
46sudo mkdir -p $OSPATH/backups $OSPATH/caches/assetcache $OSPATH/config $OSPATH/setup 44sudo mkdir -p $OSPATH/backups $OSPATH/caches/assetcache $OSPATH/config $OSPATH/setup
47sudo chown opensim:opensim $OSPATH 45sudo chown opensim:opensim $OSPATH
48sudo chown -R opensim:opensim $OSPATH 46sudo chown -R opensim:opensim $OSPATH