tor: update init script

Changes:
-add uci config
-create pid file by procd
-add reload function

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
This commit is contained in:
Jan Pavlinec
2019-12-31 09:16:21 +01:00
parent 83e58b67de
commit a21ffc8eb9
3 changed files with 42 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
config tor conf
option default "/etc/tor/torrc"
option generated "/tmp/torrc"
#list head_include "/full/path/to/file"
#list tail_include "/full/path/to/file"