Will not autostart in linux

Need help? Post your questions here.

Moderator: moderators

Will not autostart in linux

Postby widgeteye » Sun Oct 05, 2014 3:34 am

I have this on a headless box with no terminal.


I have tried the following already;

put it in rc.local
/shared/subsonic/subsonic.sh
according to the logs it starts but then is not running
doesn't show up in ps aux so it seems as soon as it starts it dies.
I have already tried nohup /shared/subsonic/subsonic.sh
According to the nohup.out file it started, there is no other info.

I have tried putting it in crontab with the following command:
@reboot /shared/subsonic/subsonic.sh
crontab sends me an email saying it is started and gives the process number but it is not there when I log in via ssh.

If I log in via ssh and start it, it runs fine, works like a charm.
So there is something about the output of subsonic needing to be fed to a terminal on startup or it dies.

Any ideas???
widgeteye
 
Posts: 20
Joined: Wed Dec 29, 2010 1:38 am

Re: Will not autostart in linux

Postby gurutech » Sun Oct 05, 2014 11:37 pm

Have you tried "chkconfig subsonic on" ?
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests