[systemd-devel] Question regarding Also= in [Install]

Colin Guthrie gmane at colin.guthr.ie
Mon May 6 11:29:18 PDT 2013


>From the man page:

> Additional units to install when this unit is installed. If the user
> requests installation of a unit with this option configured,
> systemctl enable will automatically install units listed in this
> option as well.

What also happens however is that it if systemctl disable is called it
will also disable those units (certainly in my 195+patches build tho' I
can't see anything obvious in git what would fix this). The docs imply
it is one way and to actually be useful it's also sensible to have this
one way (as otherwise you may as well uses BindTo and skip the whole
[Install] section in one of the units).

Any thoughts?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the systemd-devel mailing list