„scripts/start.sh“ ändern

This commit is contained in:
2022-01-29 11:25:47 +01:00
parent 793d6ec39a
commit 4949e254bc

View File

@@ -16,12 +16,14 @@ else
fi
echo "---Starting...---"
chown -R ${UID}:${GID} /opt/scripts
chown -R root:${GID} /opt/scripts
chmod -R 750 /opt/scripts
chown -R ${UID}:${GID} ${DATA_DIR}
term_handler() {
kill -SIGTERM "$killpid"
wait "$killpid" -f 2>/dev/null
kill -SIGINT $(pidof RustDedicated)
tail --pid=$(pidof RustDedicated) -f 2>/dev/null
sleep 0.5
exit 143;
}