Resource icon

Beta Server admin scripts 1.0

No permission to download
License
GPL/GNU
Additional Requirements
Linux or other python and BASH supported OS
Compatible Game Versions
  1. 1.0
  2. 1.1
  3. 1.2
  4. 1.3
  5. 1.4
  6. 2.0
These set of scripts are used to capture daily snapshots of the save files
capture server utilization stats every hour
capture server details via telnet hourly
run server as a systemd service. Options used resolve specific limits of running it as a simple application script in linux.
I have my 7days installed in /home/7days/ and this is done as I migrate the setup to a chroot jail setup further securing things from hackers.
Install / Usage Instructions
Scripts are mostly installed in /usr/local/bin
startserver.sh is to replace the startserver.sh that comes with the game.
7days.service is placed in /etc/systemd/system/
The scripts are added to crontab by invoking sudo crontab -e
and adding:
0 5 * * * /usr/local/bin/backup.sh
#@reboot sleep 120 && service 7days restart
@hourly /usr/local/bin/cpu7days.sh
@hourly /usr/local/bin/telnet.sh
@weekly /usr/local/bin/cleanlog.sh
@weekly /usr/local/bin/cleanbackup.sh
@weekly /usr/local/bin/outputlogclean.sh
Author
Knoxvilles_joker
Downloads
1
Views
30
First release
Last update

Ratings

Client / Server Mod
  1. Server
0.00 star(s) 0 ratings
Back
Top