2019-12-16 03:20:08 +00:00
|
|
|
[Unit]
|
2020-01-25 00:39:28 +00:00
|
|
|
Description=LokiNET: Anonymous Network layer thingydoo, client (testnet)
|
2020-01-14 21:16:12 +00:00
|
|
|
AssertFileNotEmpty=/var/lib/lokinet/testnet/bootstrap.signed
|
2019-12-16 03:20:08 +00:00
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=_lokinet
|
|
|
|
SyslogIdentifier=lokinet
|
2020-01-25 00:39:28 +00:00
|
|
|
WorkingDirectory=/var/lib/lokinet/testnet
|
2020-01-14 21:16:12 +00:00
|
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
|
|
|
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
2020-01-25 00:39:28 +00:00
|
|
|
ExecStart=/usr/bin/lokinet /var/lib/lokinet/testnet/lokinet.ini
|
|
|
|
ExecStartPost=+/usr/sbin/lokinet-resolvconf add /var/lib/lokinet/testnet/lokinet.ini
|
|
|
|
ExecStopPost=+/usr/sbin/lokinet-resolvconf remove /var/lib/lokinet/testnet/lokinet.ini
|
2019-12-16 03:20:08 +00:00
|
|
|
Environment=LOKINET_NETID=gamma
|
|
|
|
Restart=always
|
|
|
|
RestartSec=5s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|