packages/tor{,-alpha}: use new service functions, move user/group creation from postinst to initscript, move pid file to /var/run/tor directory

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28902 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2011-11-09 23:17:24 +00:00
parent a91e83b20f
commit c6463f8a84
6 changed files with 44 additions and 108 deletions

View File

@ -19,4 +19,4 @@
#ExitPolicy reject *:*
+User tor
+PidFile @LOCALSTATEDIR@/run/tor.pid
+PidFile @LOCALSTATEDIR@/run/tor/tor.pid