2014-03-25, 05:14
(2014-03-25, 05:06)Jeremy White Wrote: I'm not using couchpotato at this moment. I'm pretty sure I have the Htpc script installed correctly, as I can run it from sudo and it starts up.
For some reason however it doesn't start at boot time.
I would use and upstart script. Just place in /etc/init and name it htpc.conf
# this should live in /etc/init
description "Htpc-Manager for XBMC"
autthor "your name"
start on runlevel [2345]
stop on runlevel [016]
respawn
chdir /opt/HTPC-Manager/ <--change your directory location
exec ./Htpc.py
you can start and stop the service with
sudo service Htpc start
sudo service Htpc stop or
sudo service Htpc restart
The application will auto start on boot.