2019-12-16 03:20:08 +00:00
|
|
|
[Unit]
|
|
|
|
Description=LokiNET: Anonymous Network layer thingydoo, router (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
|
2020-03-04 03:59:18 +00:00
|
|
|
Type=notify
|
|
|
|
WatchdogSec=30s
|
2019-12-16 03:20:08 +00:00
|
|
|
SyslogIdentifier=lokinet-router
|
|
|
|
WorkingDirectory=/var/lib/lokinet/testnet-router
|
2020-01-14 21:16:12 +00:00
|
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
|
|
|
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
2019-12-16 03:20:08 +00:00
|
|
|
ExecStart=/usr/bin/lokinet /var/lib/lokinet/testnet-router/lokinet.ini
|
|
|
|
Environment=LOKINET_NETID=gamma
|
|
|
|
Restart=always
|
|
|
|
RestartSec=5s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|