Jail autostart problem with Headphones
Posted: 23 Jun 2014 16:40
I have one small problem. In Jail I sue the following command to start after jail is up:
I use this in other jails, with appropriate path and file name, not problems. This one will not start. Any suggestions?
I can see via ssh
and start it there without problem. Just cannot get it to autostart. I have it listed in User command 1 in jail settings.
Thanks for any help trouble shooting.
Code: Select all
/usr/sbin/daemon -f -p python /mnt/Extensions/HeadPhones/Headphones.py --quietI can see via ssh
Code: Select all
root@HeadPhones:/mnt/Extensions/HeadPhones # python HeadPhones.py
Code: Select all
root@HeadPhones:/mnt/Extensions/HeadPhones # python HeadPhones.py
python: can't open file 'HeadPhones.py': [Errno 2] No such file or directory
root@HeadPhones:/mnt/Extensions/HeadPhones # python Headphones.py
23-Jun-2014 09:46:49 - INFO :: MainThread : Checking to see if the database has all tables....
23-Jun-2014 09:46:49 - INFO :: MainThread : Retrieving latest version information from GitHub
23-Jun-2014 09:46:50 - INFO :: MainThread : Headphones is up to date
23-Jun-2014 09:46:50 - INFO :: MainThread : Starting Headphones on http://0.0.0.0:8181/
Thanks for any help trouble shooting.