I see that you check if the transmission job is enabled within the the script.
Based on the upstart cookbook, it is more correct to:
* check conditions in pre-start script
* call `stop` which will prevent the current job from starting
* exit 0

See:
http://upstart.ubuntu.com/cookbook/#stop-a-job-from-running-if-its-configuration-file-has-not-been-created-modified

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1031035

Title:
  Transmission daemon upstart support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/1031035/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to