mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
22 lines
584 B
Desktop File
22 lines
584 B
Desktop File
[Unit]
|
|
Description=LokiNET: Anonymous Network layer thingydoo, router
|
|
AssertFileNotEmpty=/var/lib/lokinet/bootstrap.signed
|
|
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
|