Onionr/install/onionr.service

16 lines
318 B
SYSTEMD
Raw Permalink Normal View History

2019-03-29 03:33:14 +00:00
[Unit]
Description=Onionr Daemon
Requires=network.target tor.service
After=network.target tor.service
[Service]
Environment="DATA_DIR=/usr/share/onionr"
Environment="LOG_DIR=/var/log/onionr/"
ExecStart=/usr/bin/onionr --start
ExecStop=/usr/bin/onionr --stop
Type=simple
Restart=always
[Install]
WantedBy=tor.service