lokinet/debian/lokinet.service

14 lines
398 B
SYSTEMD
Raw Normal View History

2018-10-23 11:45:14 +00:00
[Unit]
Description=LokiNET: Anonymous Network layer thingydoo.
Wants=network.target
After=network.target
[Service]
User=debian-lokinet
SyslogIdentifier=lokinet
2019-02-28 13:49:04 +00:00
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
2018-10-23 11:45:14 +00:00
Restart=always
[Install]
WantedBy=multi-user.target