lokinet/debian/lokinet.service
2019-02-28 08:49:04 -05:00

14 lines
398 B
Desktop File

[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/bin/lokinet -g && /usr/bin/lokinet-bootstrap ) "
ExecStart=/usr/bin/lokinet /var/lib/lokinet/.lokinet/lokinet.ini
Restart=always
[Install]
WantedBy=multi-user.target