Restart Minecraft servers nightly

This commit is contained in:
Salt 2020-06-22 12:07:07 -05:00
parent 429642fe6a
commit 2901cd8af9

View File

@ -32,6 +32,8 @@ ExecStop=/usr/bin/screen -p 0 -S %i -X eval 'stuff "stop"\\015'
ExecStop=/bin/sleep 5
Restart=always
# Restart after 24hrs
RuntimeMaxSecs=86400
[Install]
WantedBy=multi-user.target