Guys, I want to disable a bunch of upstart jobs here. I know how to make a upstart job. And also I know how to stop manually a job. However, I can't find a sample where I turn a automatically job into a manually job. That is, I want the job to be started only when the user activate, for instance:

# service job-name start

link|improve this question

feedback

1 Answer

up vote 8 down vote accepted

Delete or comment out the start on part (using the number sign '#'). Commenting it out has the advantage of easy recoverability of the original state.

link|improve this answer
@Gilles: Oops. thanks! :-) – htorque Nov 11 '10 at 21:44
You can also remove the start on part (or not add one, if you are writing a job yourself), but commenting it out is useful if you want to re-enable it later... – JanC Nov 12 '10 at 5:02
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.