count down from 3 instead of 5
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f177ce468c
commit
5eb56e512d
|
@ -2,16 +2,12 @@
|
|||
if pgrep -f minedock >/dev/null; then
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"say MINECRAFT SERVER SHUTTING DOWN!\r\"`"
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"save-all\r\"`"
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"say 5...\r\"`"
|
||||
sleep 1
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"say 4...\r\"`"
|
||||
sleep 1
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"say 3...\r\"`"
|
||||
sleep 1
|
||||
sleep 2
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"say 2...\r\"`"
|
||||
sleep 1
|
||||
sleep 2
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"say 1...\r\"`"
|
||||
sleep 1
|
||||
sleep 2
|
||||
s6-setuidgid guardian screen -S minedock -X stuff "`echo -ne \"stop\r\"`"
|
||||
sleep 2
|
||||
fi
|
||||
fi
|
||||
|
|
Reference in New Issue