lokinet/debian/lokinet-router.lokinet-testnet-router.service

22 lines
616 B
SYSTEMD
Raw Normal View History

[Unit]
Description=LokiNET: Anonymous Network layer thingydoo, router (testnet)
AssertFileNotEmpty=/var/lib/lokinet/testnet/bootstrap.signed
Wants=network-online.target
After=network-online.target
[Service]
User=_lokinet
2020-03-04 03:59:18 +00:00
Type=notify
WatchdogSec=30s
SyslogIdentifier=lokinet-router
WorkingDirectory=/var/lib/lokinet/testnet-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/testnet-router/lokinet.ini
Environment=LOKINET_NETID=gamma
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target