2014-03-23, 21:34
(2014-03-23, 07:19)Jeremy White Wrote: How do I install this to run every time?
I copied Htpc to /etc/init.d
I changed the path to /home/xbmc/HTPC-Manager (where the *.py scripts are.)
I chmodded everything 755 that I could find.
running 'sudo /etc/init.d/Htpc start' works like a charm
I then run 'sudo update-rc.d Htpc defaults'
When it reboots..... nothing.
What to check? I know just enough linux to be dangerous and I swear this was all I did last time I installed it.
I used Couchpotato command for creating an service. Just replace the path with the correct path.
To run on boot copy the init script. sudo cp CouchPotatoServer/init/ubuntu /etc/init.d/couchpotato
Change the paths inside the init script. sudo nano /etc/init.d/couchpotato
Make it executable. sudo chmod +x /etc/init.d/couchpotato
Add it to defaults. sudo update-rc.d couchpotato defaults