Package: privoxy
Version: 3.0.21-3
Severity: normal
Tags: patch

It's unfortunate that systemd doesn't allow the first argument to options to be 
an environment variable.

A patch is provided to fix this warning.

Cheers,

Carlos Maddela

diff --git a/debian/privoxy.service b/debian/privoxy.service
index 7a48ffc..d27cb7b 100644
--- a/debian/privoxy.service
+++ b/debian/privoxy.service
@@ -6,7 +6,7 @@ Environment=PIDFILE=/var/run/privoxy.pid
 Environment=OWNER=privoxy
 Environment=CONFIGFILE=/etc/privoxy/config
 Type=forking
-PIDFile=$PIDFILE
+PIDFile=/var/run/privoxy.pid
 ExecStart=/usr/sbin/privoxy --pidfile $PIDFILE --user $OWNER $CONFIGFILE
 ExecStopPost=/bin/rm -f $PIDFILE
 

Reply via email to