13 lines
279 B
SYSTEMD
13 lines
279 B
SYSTEMD
|
[Unit]
|
||
|
Description=Wireguard Restart
|
||
|
After=network-online.target vpnclient-mount.service
|
||
|
Requires=network-online.target
|
||
|
Requisite=vpnclient-mount.service
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
Group=root
|
||
|
Type=oneshot
|
||
|
ExecStart=/snacks/wireguard/scripts/rotate.py
|
||
|
NetworkNamespacePath=/run/vpn/net
|