[systemd-devel] masking --global, but allowing --user

Michael Chapman mike at very.puzzling.org
Sat Sep 18 00:57:02 UTC 2021


On Sat, 18 Sep 2021, Matt Zagrabelny wrote:
> Greetings,
> 
> I believe the Debian package of mpd enables a --global .service and
> .socket unit for the mpd daemon/service.
> 
> I'd like to mask that and install it just to a single --user service.

Why do you need to mask the socket and service at the --global level? Why 
not simply not enable them there?

If a unit is not enabled globally, but it is not masked, individual users 
can still enable it for their own user.


More information about the systemd-devel mailing list