How to delay a service startup (i.e. don't run at boot time, but start later)?
Chris Green
cl at isbd.net
Sun Aug 2 19:40:33 UTC 2020
On Sun, Aug 02, 2020 at 02:41:54PM +0100, Colin Law wrote:
> On Sun, 2 Aug 2020 at 11:54, Chris Green <cl at isbd.net> wrote:
> >
> > I have a service (minidlna to be specific) that I want to leave 'as
> > installed' from the Ubuntu repositories but I don't want it to start
> > at boot time. I need to start it later after a number of file systems
> > have appeared.
> >
> > So is there a way of disabling start at boot time but allowing
> > 'service minidlna start' some time later?
>
> sudo systemctl disable theservice
>
> then to start it
>
> sudo systemctl start theservice
>
But will that service be disabled at the next reboot?
--
Chris Green
More information about the ubuntu-users
mailing list