mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-13 01:10:24 +00:00
14 lines
401 B
SYSTEMD
14 lines
401 B
SYSTEMD
|
[Unit]
|
||
|
Description=LokiNET: Anonymous Network layer thingydoo.
|
||
|
Wants=network.target
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=debian-lokinet
|
||
|
SyslogIdentifier=lokinet
|
||
|
ExecStartPre=/bin/bash -c "[ -e /var/lib/lokinet/.lokinet/ ] || ( /usr/sbin/lokinet -g && /usr/sbin/lokinet-bootstrap ) "
|
||
|
ExecStart=/usr/sbin/lokinet /var/lib/lokinet/.lokinet/lokinet.ini
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|