diff options
author | rofl0r <retnyg@gmx.net> | 2017-11-04 19:26:41 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2017-11-16 19:26:14 +0100 |
commit | 64b29c5f4e5cf35b9d03fd793e374e27cd83f0b2 (patch) | |
tree | 2c9c62bcf3d0f3ba6b19092fc19e6690896fbcf4 /etc | |
parent | d97d486d53ce214ae952378308292f333b8c7a36 (diff) |
do not create a pidfile, if none is specified in config
some people want to run tinyproxy with minimal configuration from
the command line (and as non-root), but tinyproxy insists on writing
a pid file, which only makes sense for usage as a service, hereby
forcing the user to either run it as root so it can write to the
default location, or start editing the default config file to work
around it.
and if no pidfile is specified in the config, it frankly doesn't
make sense to force creation of one anyway.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/tinyproxy.conf.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/tinyproxy.conf.in b/etc/tinyproxy.conf.in index 2cde69e..fe0c117 100644 --- a/etc/tinyproxy.conf.in +++ b/etc/tinyproxy.conf.in @@ -121,6 +121,7 @@ LogLevel Info # # PidFile: Write the PID of the main tinyproxy thread to this file so it # can be used for signalling purposes. +# If not specified, no pidfile will be written. # #PidFile "@localstatedir@/run/tinyproxy/tinyproxy.pid" |