Onionr/install/onionr.service

21 lines
397 B
SYSTEMD
Raw Permalink Normal View History

2019-03-29 03:33:14 +00:00
[Unit]
Description=Onionr Daemon
2019-07-22 23:59:48 +00:00
Documentation=https://onionr.net/docs/
2019-09-29 23:44:59 +00:00
After=network-online.target
Requires=network-online.target
2019-03-29 03:33:14 +00:00
[Service]
2019-09-29 23:44:59 +00:00
Environment="ONIONR_HOME=/var/lib/onionr"
Environment="LOG_DIR=/var/log/onionr"
2019-07-22 23:59:48 +00:00
2019-09-29 23:44:59 +00:00
ExecStart=/usr/bin/onionr start
ExecStop=/usr/bin/onionr stop
2019-07-22 23:59:48 +00:00
KillMode=mixed
KillSignal=SIGQUIT
2019-09-29 23:44:59 +00:00
TimeoutStopSec=30s
2019-07-22 23:59:48 +00:00
Restart=on-abnormal
2019-03-29 03:33:14 +00:00
[Install]
2019-09-29 23:44:59 +00:00
WantedBy=multi-user.target