How to delay a service startup (i.e. don't run at boot time, but start later)?

Colin Law clanlaw at gmail.com
Sun Aug 2 13:41:54 UTC 2020


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




More information about the ubuntu-users mailing list