I have a very small upstart job in
/etc/init/tsm.conf to start backup client after network starts. It works just ok if I start/stop it manually via
service tsm start|stop|status. But
service tsm enable says
tsm: unrecognized service. So it doesn't start on boot automatically.
sudo service --status-all also doesn't show it in the list of known jobs.
Here it is:
start on started networking stop on stopped networking respawn script #!/bin/bash dsmc schedule > /dev/null end script
I run ubuntu 12.04.4. Upstart version is 1.5-0ubuntu7.2. Could anybody help me? :)
initctl list and other initctl commands shows my job.