„scripts/start.sh“ ändern

This commit is contained in:
2022-04-18 09:41:46 +02:00
parent 4de018bb1e
commit 6efe63416d

View File

@@ -19,7 +19,7 @@ else
echo "---No optional script found, continuing---"
fi
echo "---Starting...---"
echo "---Taking ownership of data...---"
mkdir -p $DATA_DIR/".local/share/Arma 3" && mkdir -p $DATA_DIR/".local/share/Arma 3 - Other Profiles"
chown -R root:${GID} /opt/scripts
chmod -R 750 /opt/scripts
@@ -32,6 +32,7 @@ chmod -R 770 $DATA_DIR/".local/share/Arma 3 - Other Profiles"
chmod -R 770 /var/lib/mysql
chmod -R 770 /var/run/mysqld
echo "---Starting...---"
term_handler() {
kill -SIGTERM "$killpid"
wait "$killpid" -f 2>/dev/null