Michael D. Berger (m.d.ber...@ieee.org) 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/<foo>.service)
3) Don't install the service file/service binary at all
4) ExecStartPre=/bin/false
5) ... OK, this is rapidly becoming silly

What exactly are you trying to accomplish? Are you intending the
enable-prevention to be done at the package level or the administrator
level?

Bill
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to