summarylogtreecommitdiffstats
path: root/lokinet-vpn.service
blob: 61c0089dc9a7ba0967470ffb1631a68a311d6e7c (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]
EnvironmentFile=/etc/conf.d/lokinet
Type=oneshot
ExecStart=/usr/bin/lokinet-vpn --up --exit $LOKINET_VPN_EXIT
ExecStop=/usr/bin/lokinet-vpn --down
RemainAfterExit=true

[Install]
WantedBy=multi-user.target