mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-25 15:58:27 +00:00
timestamp is a command and not a variable
This commit is contained in:
parent
ef8f3322f3
commit
d24c2f9308
@ -1398,8 +1398,8 @@ doRun() {
|
|||||||
fi
|
fi
|
||||||
elif [ "$pid" == "$(pgrep --pgroup $serverpid)" ]; then
|
elif [ "$pid" == "$(pgrep --pgroup $serverpid)" ]; then
|
||||||
restartserver=1
|
restartserver=1
|
||||||
echo "${timestamp}: Server has double-forked and cannot be effectively monitored"
|
echo "$(timestamp): Server has double-forked and cannot be effectively monitored"
|
||||||
echo "${timestamp}: Restarting server"
|
echo "$(timestamp): Restarting server"
|
||||||
notify "${notifyMsgDoubleForked:-Server has daemonized itself - restarting}"
|
notify "${notifyMsgDoubleForked:-Server has daemonized itself - restarting}"
|
||||||
for (( i = 0; i < 5; i++ )); do
|
for (( i = 0; i < 5; i++ )); do
|
||||||
if ! kill -0 "-$serverpid"; then
|
if ! kill -0 "-$serverpid"; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user