Removed fail catcher in ts3bot service script.

"exec" essentially renders everything after the setuser call ineffective as it replaces the process completely.
master
Icedream 2015-10-16 13:46:30 +02:00
parent 376b07fbd0
commit db5f76b4b6
1 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,3 @@
#!/bin/sh #!/bin/sh
export XDG_RUNTIME_DIR="/tmp" export XDG_RUNTIME_DIR="/tmp"
exec /sbin/setuser app nodejs ~app/ts3bot/app.js --ts3-install-path=/home/app/ts3client || ( exec /sbin/setuser app nodejs ~app/ts3bot/app.js --ts3-install-path=/home/app/ts3client
echo TS3Bot failed, waiting 10 seconds before restarting...
sleep 10
)