Knoxvilles_joker
Refugee
I modified my startserver.sh on this line:
./7DaysToDieServer.x86_64 -logfile "$SERVERDIR"/logs/output_log__`date +-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
I added a logs file directory in the 7days folder so the output log files did not clutter the main 7days server folder.
I am adding a cleanup script to run weekly to delete old log files to save on server space.
I still need to test this line to ensure no running server breakage ,but this should be the command string to clean things:
find /home/7days/7days/logs -maxdepth 1 -type d -name "output_log__*" -mtime +7 -exec rm -rf {} \;
./7DaysToDieServer.x86_64 -logfile "$SERVERDIR"/logs/output_log__`date +-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
I added a logs file directory in the 7days folder so the output log files did not clutter the main 7days server folder.
I am adding a cleanup script to run weekly to delete old log files to save on server space.
I still need to test this line to ensure no running server breakage ,but this should be the command string to clean things:
find /home/7days/7days/logs -maxdepth 1 -type d -name "output_log__*" -mtime +7 -exec rm -rf {} \;