[systemd-devel] Add unit to arbitrary target.

Lennart Poettering lennart at poettering.net
Wed Jan 29 03:21:56 PST 2014


On Wed, 29.01.14 10:53, dE (de.techno at gmail.com) wrote:

> On enabling a unit, by default systemd will put it in a target which
> has been specified in by the unit itself.
> 
> Is there any way by which I can make the unit start in any custom
> target? Manual linking or using systemctl?

Manual linking is the only way to do this for now.

There has been a TODO list item though to maybe introduce "add-wants"
though, to implement something more high-level for this...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list