Disabling package-managed user units

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux