„scripts/start.sh“ ändern

This commit is contained in:
2020-05-14 00:57:35 +02:00
parent 6f236f5680
commit 95ff89c5df

View File

@@ -33,8 +33,6 @@ su ${USER} -c "/opt/scripts/start-server.sh" &
killpid="$!"
while true
do
if ! pgrep -f start-server.sh >/dev/null ; then
exit 0
fi
sleep 5
wait $killpid
exit 0;
done