mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
20 lines
574 B
SYSTEMD
20 lines
574 B
SYSTEMD
|
[Unit]
|
||
|
Description=LokiNET: Anonymous Network layer thingydoo, client
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
User=_lokinet
|
||
|
SyslogIdentifier=lokinet
|
||
|
WorkingDirectory=/var/lib/lokinet
|
||
|
AssertFileNotEmpty=/var/lib/lokinet/bootstrap.signed
|
||
|
ExecStart=/usr/bin/lokinet /var/lib/lokinet/lokinet.ini
|
||
|
ExecStartPost=+/usr/sbin/lokinet-resolvconf add /var/lib/lokinet/lokinet.ini
|
||
|
ExecStopPost=+/usr/sbin/lokinet-resolvconf remove /var/lib/lokinet/lokinet.ini
|
||
|
Environment=LOKINET_NETID=gamma
|
||
|
Restart=always
|
||
|
RestartSec=5s
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|