wireguard-ipv6-converter: verified download, restart upheld while the interface is up, percent signs escaped for systemd
This commit is contained in:
@@ -3,5 +3,10 @@
|
||||
# interface without its IPv6 addresses. Start it again whenever
|
||||
# {{ wireguard_ipv6_converter.service.bindTo }} starts. --no-block because the converter orders
|
||||
# itself After={{ wireguard_ipv6_converter.service.bindTo }}.
|
||||
# Upholds= additionally restarts the converter whenever it stops while
|
||||
# {{ wireguard_ipv6_converter.service.bindTo }} is active, e.g. after it exhausted its start limit.
|
||||
[Unit]
|
||||
Upholds=wg-ipv6-converter_{{ wireguard_ipv6_converter.setup.interface }}.service
|
||||
|
||||
[Service]
|
||||
ExecStartPost=/bin/systemctl --no-block start wg-ipv6-converter_{{ wireguard_ipv6_converter.setup.interface }}.service
|
||||
|
||||
Reference in New Issue
Block a user