Mon Jun 22 2020

This commit is contained in:
2020-07-09 02:02:30 +03:00
parent 6bd74c851b
commit f24223a0b9
10 changed files with 250 additions and 186 deletions

View File

@ -2,7 +2,21 @@
Description=Check and Update Killing Floor 2 server
[Service]
Type=simple
Type=oneshot
ExecStart=/usr/bin/kf2-srv --chat 'Scheduled server restart at 4:00 (MSK)'
ExecStart=/usr/bin/kf2-srv --chat 'Server will restart after 30 minutes'
ExecStart=/bin/sleep 15m
ExecStart=/usr/bin/kf2-srv --chat 'Server will restart after 15 minutes'
ExecStart=/bin/sleep 10m
ExecStart=/usr/bin/kf2-srv --chat 'Server will restart after 5 minutes'
ExecStart=/bin/sleep 5m
ExecStart=/usr/bin/kf2-srv --chat 'Server shutting down...'
ExecStart=/bin/sleep 5s
ExecStart=/usr/bin/kf2-srv --update
PrivateTmp=true