[PATCH] wpa_supplicant: systemd service directives

Jouni Malinen j
Thu Jan 30 03:35:20 PST 2014


On Tue, Jan 21, 2014 at 03:46:00PM -0500, Mark Oteiza wrote:
> Quoting 399ec170: "Use correct (multi-user) target when installing
> systemd units [...] all services should always be installed in
> multi-user.target"
> 
> These directives (Alias, WantedBy) are documented in systemd.unit(5)

Could you please describe why this change is needed in the commit
message? The text here is just referring to some old commit without
giving any explanation why the additional change is needed. That
reference to systemd.unit(5) was not very helpful either for me:

$ man systemd.unit
No manual entry for systemd.unit


> +++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in
> @@ -10,4 +10,4 @@ Type=simple
>  [Install]
> -Alias=multi-user.target.wants/wpa_supplicant-nl80211@%i.service
> +WantedBy=multi-user.target

So what does this do and why is it needed?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list