lokinet/debian/lokinet-router.lokinet-router.service
Jason Rhinelander 1fc37ce349
Remove bootstrap.signed from generated default configs
We now how the bootstrap in the binary itself.

This doesn't remove the installed bootstrap files, though, for backwards
compat: existing configs may be referencing the system path.
2022-11-04 11:53:32 -03:00

21 lines
531 B
Desktop File

[Unit]
Description=LokiNET: Anonymous Network layer thingydoo, router
Wants=network-online.target
After=network-online.target
[Service]
User=_lokinet
Type=notify
WatchdogSec=30s
SyslogIdentifier=lokinet-router
WorkingDirectory=/var/lib/lokinet/router
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
ExecStart=/usr/bin/lokinet -r /var/lib/lokinet/router/lokinet.ini
Environment=LOKINET_NETID=lokinet
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target