[systemd-devel] Disabling package-managed user units
Evan Klitzke
evan at eklitzke.org
Tue May 15 01:17:09 UTC 2018
Reindl Harald <h.reindl at thelounge.net> writes:
> educated guess: since enable/disable is just a wish in general, use
> "mask" instead "disable" which pretty sure leads to symlink
> /etc/systemd/user/servicename.service to /den/null or just place a
> identuical named symlink to /dev/null there
Indeed, "systemctl --user mask" creates a symlink to /dev/null which is
effective at preventing the unit from starting when I log in. Thanks, I
wasn't aware of the "mask" command.
--
Evan Klitzke pgp: 0x157EFCACBC648422
e: evan at eklitzke.org w: https://eklitzke.org
More information about the systemd-devel
mailing list