diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-13 20:20:32 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-13 20:20:32 +0200 |
commit | d785e7b1a211b81fc55e11ae025661575d4b1a92 (patch) | |
tree | 54fe7fe1cd92c3441fd4d0c251a52af24470532b /package/tinyproxy/files | |
parent | 7996e55281ff273a4d933f36e64bcb50f330fe9e (diff) |
tinyproxy: update to 1.8.4
Diffstat (limited to 'package/tinyproxy/files')
-rw-r--r-- | package/tinyproxy/files/tinyproxy.conf | 6 | ||||
-rw-r--r-- | package/tinyproxy/files/tinyproxy.init | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/package/tinyproxy/files/tinyproxy.conf b/package/tinyproxy/files/tinyproxy.conf index 6460a2c88..798231b12 100644 --- a/package/tinyproxy/files/tinyproxy.conf +++ b/package/tinyproxy/files/tinyproxy.conf @@ -64,8 +64,8 @@ StatFile "/usr/share/tinyproxy/stats.html" # Where to log the information. Either LogFile or Syslog should be set, # but not both. # -Logfile "/var/log/tinyproxy.log" -# Syslog On +#Logfile "/var/log/tinyproxy.log" +Syslog On # # Set the logging level. Allowed settings are: @@ -85,7 +85,7 @@ LogLevel Critical # PidFile: Write the PID of the main tinyproxy thread to this file so it # can be used for signalling purposes. # -PidFile "/var/run/tinyproxy.pid" +PidFile "/var/run/tinyproxy/tinyproxy.pid" # # Include the X-Tinyproxy header, which has the client's IP address when diff --git a/package/tinyproxy/files/tinyproxy.init b/package/tinyproxy/files/tinyproxy.init index 46cc6ee5a..e0a8b9a81 100644 --- a/package/tinyproxy/files/tinyproxy.init +++ b/package/tinyproxy/files/tinyproxy.init @@ -11,11 +11,12 @@ autostart) exec sh $0 start ;; start) + mkdir -p /var/run/tinyproxy + chown tinyproxy.tinyproxy /var/run/tinyproxy /usr/sbin/tinyproxy ;; stop) kill $(pgrep -f /usr/sbin/tinyproxy) - rm /var/run/tinyproxy.pid ;; restart) sh $0 stop |