Onionr/install/onionr.service
2019-03-30 16:36:50 -07:00

16 lines
318 B
Desktop File

[Unit]
Description=Onionr Daemon
Requires=network.target tor.service
After=network.target tor.service
[Service]
Type=simple
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