2019-10-29 17:02:40 +00:00
|
|
|
[Unit]
|
|
|
|
Description=LokiNET: Anonymous Network layer thingydoo, router
|
2020-01-14 21:16:12 +00:00
|
|
|
AssertFileNotEmpty=/var/lib/lokinet/bootstrap.signed
|
2019-10-29 17:02:40 +00:00
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=_lokinet
|
|
|
|
SyslogIdentifier=lokinet-router
|
|
|
|
WorkingDirectory=/var/lib/lokinet/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-10-29 17:02:40 +00:00
|
|
|
ExecStart=/usr/bin/lokinet /var/lib/lokinet/router/lokinet.ini
|
2019-12-16 03:20:08 +00:00
|
|
|
Environment=LOKINET_NETID=lokinet
|
2019-10-29 17:02:40 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=5s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|