Add installation scripts
This commit is contained in:
parent
7048db42bd
commit
df8a3d39bc
15 changed files with 293 additions and 44 deletions
15
install/onionr.service
Normal file
15
install/onionr.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue