mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-24 16:28:23 -05:00
Replace systemd install Alias with WantedBy
According to the systemd documentation "WantedBy=foo.service in a service bar.service is mostly equivalent to Alias=foo.service.wants/bar.service in the same file." However, this is not really the intended purpose of install Aliases. Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com>
This commit is contained in:
parent
9bf306f57d
commit
fe0429a589
@ -12,4 +12,4 @@ Type=simple
|
|||||||
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=multi-user.target.wants/wpa_supplicant-nl80211@%i.service
|
WantedBy=multi-user.target
|
||||||
|
@ -12,4 +12,4 @@ Type=simple
|
|||||||
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=multi-user.target.wants/wpa_supplicant-wired@%i.service
|
WantedBy=multi-user.target
|
||||||
|
@ -12,4 +12,4 @@ Type=simple
|
|||||||
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=multi-user.target.wants/wpa_supplicant@%i.service
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user