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