salt/wireguard/wireguard.service: fix wg-quick paths
This commit is contained in:
parent
2a59f2cab2
commit
390607873f
|
@ -4,8 +4,8 @@ PartOf=wireguard.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=wg-quick up /etc/wg/%i.conf
|
ExecStart=/usr/bin/wg-quick up /etc/wg/%i.conf
|
||||||
ExecStop=wg-quick down /etc/wg/%i.conf
|
ExecStop=/usr/bin/wg-quick down /etc/wg/%i.conf
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue