framework/script/reset.sh

12 lines
197 B
Bash
Raw Normal View History

2020-04-16 15:08:07 -04:00
#!/bin/sh
# The following script is used when resetting the server
# Currently every 24 h
~/framework/script/stop.sh
2020-04-16 18:01:58 -04:00
chmod -R 777 ~/server/
2020-04-16 15:08:07 -04:00
rm -rf ~/server/*
cp -Tr ~/server-default/ ~/server/
2020-04-16 15:17:16 -04:00