mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
620f7f965c
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.
21 lines
555 B
Desktop File
21 lines
555 B
Desktop File
[Unit]
|
|
Description=LokiNET: Anonymous Network layer thingydoo, router (testnet)
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
User=_lokinet
|
|
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
|