i'm relatively new to Linux, and I'm just trying to run Deluge at startup on a Raspberry Pi running Raspbian Wheezy.
I've tried the InitScripts for Debian found here: http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu. I copy both files into their folders, choose the username to run deluge as "pi" the standard user also used for login the raspberry\lxde\...; chmod-ded 755 the second file; call "update rc..." [ update-rc.d: using dependency based boot sequencing ]; and finally, calling "invoke.rc.." the terminal give me a : "/usr/sbin/invoke-rc.d: 500: /usr/sbin/invoke-rc.d: /etc/init.d/deluge-daemon: not found
invoke-rc.d: initscript deluge-daemon, action "start" failed. "
It seems not founding the script, but i accurately cheched permission and file with an editor...
Where I am wrong?
Code: Select all
root@raspberrypi:~# sudo cp /home/RasPiCondivisa/1 /etc/default/deluge-daemon
root@raspberrypi:~# sudo cp /home/RasPiCondivisa/2 /etc/init.d/deluge-daemon
root@raspberrypi:~# sudo chmod 755 /etc/init.d/deluge-daemon
root@raspberrypi:~# sudo update-rc.d deluge-daemon defaults
update-rc.d: using dependency based boot sequencing
root@raspberrypi:~# sudo invoke-rc.d deluge-daemon start
/usr/sbin/invoke-rc.d: 500: /usr/sbin/invoke-rc.d: /etc/init.d/deluge-daemon: not found
invoke-rc.d: initscript deluge-daemon, action "start" failed.
root@raspberrypi:~# :wtf_man:
Thanks,
Luca