Michael D. Berger ieee.org> writes:
>
> Is there a way to prevent a service from being enabled?
> Thanks,
> Mike.
> --
Yes there is, see: http://0pointer.de/public/systemd-man/systemctl.html
search for 'mask'
___
systemd-devel mailing list
systemd-d
> -Original Message-
> From: Bill Nottingham [mailto:[email protected]]
> Sent: Monday, November 28, 2011 12:14
> To: Michael D. Berger
> Cc: [email protected]
> Subject: Re: [systemd-devel] RefuseEnable
>
> Michael D. Berger ([email protected]
Michael D. Berger ([email protected]) said:
> Is there a way to prevent a service from being enabled?
1) Don't have an '[Install]' section in the unit file
2) Mask the service (ln -s /dev/null /etc/systemd/system/.service)
3) Don't install the service file/service binary at all
4) ExecStartPre=
Is there a way to prevent a service from being enabled?
Thanks,
Mike.
--
Michael D. Berger
[email protected]
http://www.rosemike.net/
___
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/sys