wireguard-setup/systemd/wireguard-mount.service

18 lines
331 B
Desktop File

[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
PrivateMounts=false
[Install]
WantedBy=multi-user.target