|
|
Subscribe / Log in / New account

Systemd programming part 2: activation and language issues

Systemd programming part 2: activation and language issues

Posted Feb 20, 2014 17:03 UTC (Thu) by cg909 (guest, #95647)
In reply to: Systemd programming part 2: activation and language issues by kevinm
Parent article: Systemd programming part 2: activation and language issues

Systemd has another way to explicity disable a service:
systemctl mask $service
That tells systemd that this service should never run.

In the systemd concept every service that is known to systemd *may* be started if its needed (and is not masked).

systemctl enable $service can be read as "Make sure that $service *will* be run."

So with systemd you have in fact more flexibility: You can leave a service disabled, so that it will run only if required by another unit; you can enable it to let it run in any case and you can mask it to disable it completely.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds