2019-10-29 17:02:40 +00:00
|
|
|
[Unit]
|
|
|
|
Description=LokiNET: Anonymous Network layer thingydoo, router
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=_lokinet
|
2020-03-04 03:59:18 +00:00
|
|
|
Type=notify
|
|
|
|
WatchdogSec=30s
|
2019-10-29 17:02:40 +00:00
|
|
|
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
|
2020-10-02 04:04:22 +00:00
|
|
|
ExecStart=/usr/bin/lokinet -r /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
|