lokinet/debian/lokinet.service
2018-10-23 07:45:14 -04:00

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