„scripts/start.sh“ ändern
This commit is contained in:
@@ -19,11 +19,12 @@ else
|
|||||||
echo "---No optional script found, continuing---"
|
echo "---No optional script found, continuing---"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "---Starting...---"
|
echo "---Taking ownership of data...---"
|
||||||
chown -R root:${GID} /opt/scripts
|
chown -R root:${GID} /opt/scripts
|
||||||
chmod -R 750 /opt/scripts
|
chmod -R 750 /opt/scripts
|
||||||
chown -R ${UID}:${GID} ${DATA_DIR}
|
chown -R ${UID}:${GID} ${DATA_DIR}
|
||||||
|
|
||||||
|
echo "---Starting...---"
|
||||||
term_handler() {
|
term_handler() {
|
||||||
kill -SIGINT $(pidof RustDedicated)
|
kill -SIGINT $(pidof RustDedicated)
|
||||||
tail --pid=$(pidof RustDedicated) -f 2>/dev/null
|
tail --pid=$(pidof RustDedicated) -f 2>/dev/null
|
||||||
|
Reference in New Issue
Block a user