mirror of https://github.com/icedream/ts3bot.git
Removed fail catcher in ts3bot service script.
"exec" essentially renders everything after the setuser call ineffective as it replaces the process completely.master
parent
376b07fbd0
commit
db5f76b4b6
|
@ -1,6 +1,3 @@
|
|||
#!/bin/sh
|
||||
export XDG_RUNTIME_DIR="/tmp"
|
||||
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
|
||||
)
|
||||
exec /sbin/setuser app nodejs ~app/ts3bot/app.js --ts3-install-path=/home/app/ts3client
|
||||
|
|
Loading…
Reference in New Issue