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

2021-09-18 Thread Arseny Maslennikov
On Fri, Sep 17, 2021 at 07:02:14PM -0500, 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. > > I've tried that: > >

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

2021-09-17 Thread Matt Zagrabelny
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. I've tried that: sudo systemctl --global mask mpd.service sudo systemctl --global mask mpd.socket and

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

2021-09-17 Thread Matt Zagrabelny
Hi! Thanks for the reply. On Fri, Sep 17, 2021 at 7:57 PM Michael Chapman 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

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

2021-09-17 Thread Michael Chapman
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