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

Matt Zagrabelny mzagrabe at d.umn.edu
Sat Sep 18 01:14:29 UTC 2021


Hi! Thanks for the reply.

On Fri, Sep 17, 2021 at 7:57 PM Michael Chapman <mike at very.puzzling.org> wrote:
>
> 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?

Good question. I think it is because the global gets re-enabled on upgrades.

I suppose I could check the package source code to confirm.
[goes to look]
Well, I don't see anything in the package to suggest the package is
re-enabling any global service that is disabled.

So, I suppose I will just disable the global service and socket and
enable the user service at that point.

Thanks again for the help.

-m


More information about the systemd-devel mailing list