mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
6581ea7b67
They belong in the [Unit] section, not the [Service] section.
20 lines
576 B
Desktop File
20 lines
576 B
Desktop File
[Unit]
|
|
Description=LokiNET: Anonymous Network layer thingydoo, client
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
AssertFileNotEmpty=/var/lib/lokinet/bootstrap.signed
|
|
|
|
[Service]
|
|
User=_lokinet
|
|
SyslogIdentifier=lokinet
|
|
WorkingDirectory=/var/lib/lokinet
|
|
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=lokinet
|
|
Restart=always
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|