lokinet/debian/lokinet.service

14 lines
401 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
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