„scripts/start.sh“ ändern

This commit is contained in:
2022-04-18 14:04:37 +02:00
parent 43174efe10
commit dc3549bfe2

View File

@@ -19,11 +19,12 @@ else
echo "---No optional script found, continuing---"
fi
echo "---Starting...---"
echo "---Taking ownership of data...---"
chown -R root:${GID} /opt/scripts
chmod -R 750 /opt/scripts
chown -R ${UID}:${GID} ${DATA_DIR}
echo "---Starting...---"
term_handler() {
kill -SIGINT $(pidof RustDedicated)
tail --pid=$(pidof RustDedicated) -f 2>/dev/null