mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-31 14:57:59 +00:00
Updated kill for no rcon
This commit is contained in:
@@ -21,8 +21,8 @@ term_handler() {
|
|||||||
if [ ${RCON_ENABLED} = true ]; then
|
if [ ${RCON_ENABLED} = true ]; then
|
||||||
rcon-cli save
|
rcon-cli save
|
||||||
rcon-cli shutdown 1
|
rcon-cli shutdown 1
|
||||||
else # Not graceful
|
else # Does not save
|
||||||
kill -SIGTERM $killpid
|
kill -SIGTERM $(pidof PalServer-Linux-Test)
|
||||||
fi
|
fi
|
||||||
tail --pid=$killpid -f 2>/dev/null
|
tail --pid=$killpid -f 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user