Cant create dinit service
I want to start teamspeak server by sh in working dir
type = scripted
command = /home/awake/ts/ts3server_startscript.sh start
restart = false
working-dir = /home/awake/ts
run-as = awake
pid-file = /home/awake/ts/ts3server.pid
server started and after 1min its crushing
sudo dinitctl status ts3server
Service: ts3server
State: STARTING
Activation: explicitly started
Process ID: 19201
i tried start-timeout =0, type = process,bgprocess
but it didnt help
what am i doing wrong?