lokinet/contrib/archlinux/lokinet-vpn@.service
2022-11-08 09:12:16 -05:00

15 lines
297 B
Desktop File

[Unit]
Description=Lokinet VPN tunnel: shove all traffic over lokinet
Requires=lokinet.service
After=lokinet.service
[Service]
User=_lokinet
Type=oneshot
ExecStart=/usr/bin/lokinet-vpn --up --exit %i
ExecStop=/usr/bin/lokinet-vpn --down
RemainAfterExit=true
[Install]
WantedBy=multi-user.target