opensim-tools
/lib/reset-spectacled-owl |
@@ -65,6 +65,9 @@ |
mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -e 'drop database opensim'; |
mysql -u debian-sys-maint -pvu9VYfFIcb0qcRVC -e 'create database opensim'; |
|
# clear asset cache |
rm -rf /home/opensim/os/assetcache |
|
# clear history |
su root -c "history -c && rm -rf /root/.bash_history" |
su opensim -c "history -c && rm -rf /home/opensim/.bash_history" |
/lib/upgrade-spectacled-owl |
@@ -62,6 +62,7 @@ |
find bin/ -name \*.ini -exec rm -rf '{}' \; |
find bin/ -name \*.config -exec rm -rf '{}' \; |
find bin/ -name assets -exec rm -rf '{}' \; |
find bin/ -name assetcache -exec -rm -rf '{}' \; |
cp -Ra bin/* /home/opensim/os/ |
echo "[SpectacledOwl] Changing ownership..." |
chown -R opensim:opensim /home/opensim/os/ |