17 lines
311 B
SYSTEMD
17 lines
311 B
SYSTEMD
|
[Unit]
|
||
|
Description=Wireguard namespace mountpoint
|
||
|
Requires=network.target
|
||
|
After=network.target
|
||
|
RefuseManualStop=true
|
||
|
|
||
|
[Service]
|
||
|
Type=notify
|
||
|
NotifyAccess=main
|
||
|
RuntimeDirectory=vpn
|
||
|
RuntimeDirectoryMode=0755
|
||
|
ExecStart=/snacks/wireguard/bin/wireguard-mount
|
||
|
PrivateNetwork=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|