Restart Minecraft servers nightly
This commit is contained in:
parent
429642fe6a
commit
2901cd8af9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user