summarylogtreecommitdiffstats
path: root/lokinet-vpn@.service
blob: d9254f5341d1d4fd655700fd2d603b387491229c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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