How to add service on startup?

Started by schema, November 24, 2013, 11:58:15 PM

Previous topic - Next topic


I've been trying to add ssh to startup. Traditionally, openssh daemon starts on boot by default. I've reinstalled it, set the configs to default. I tried uncommenting the address it listens to in the config file thinking that the error arises from it trying to find something to listen to before the network interface loads. that hasn't worked either. I am not sure conventional ubuntu 12.4 solutions apply so how do I do this for backbox?  


vi /etc/init/ssh.conf

and edit:
#start on filesystem or runlevel [2345]

start on filesystem or runlevel [2345]
raffaele@backbox:~$ Get root or die tryin'


thanks. that worked! I've been trying to uncomment the wrong option.