2019-03-28 18:01:23 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Onionr Daemon
|
|
|
|
Requires=network.target tor.service
|
|
|
|
After=network.target tor.service
|
|
|
|
|
|
|
|
[Service]
|
2019-03-30 23:36:50 +00:00
|
|
|
Type=simple
|
2019-03-28 18:01:23 +00:00
|
|
|
Environment="DATA_DIR=/usr/share/onionr"
|
|
|
|
Environment="LOG_DIR=/var/log/onionr/"
|
|
|
|
ExecStart=/usr/bin/onionr --start
|
|
|
|
ExecStop=/usr/bin/onionr --stop
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=tor.service
|