13 lines
279 B
Desktop File
13 lines
279 B
Desktop File
[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
|