/etc/default/jenkins includes a RUN_STANDALONE value which defaults to "true". If you set it to "false", then Jenkins will not start as a service.
Be sure you stop the service before marking it false (/etc/init.d/jenkins stop), otherwise the stop script will refuse to stop the service, because it is marked to not be started. Mark Waite On Tue, Dec 3, 2013 at 6:04 AM, Richard Lavoie <[email protected]>wrote: > Did you take a look in /etc/default/ ? That's usually where the service > options are defined in ubuntu. > > On 2013-12-03, at 07:20, tomasz ducin <[email protected]> wrote: > > I've installed jenkins on my ubuntu 11.10 according to the official > tutorial<https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu>. > Anyway, I don't want jenkins to autoload on startup. I want to star it > manually only when I want to. And I don't know how to do that. > > I've been searching for .bash* files, system settings->startup , > /var/lib/jenkins directory and so on - but I didn't find any place I could > disable jenkins autoload. > > I'd grateful if someone could tell me how to switch jenkins autoload off. > Thank you in advance. > > -- > best wishes > Tomasz Ducin > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
