Package: anon-proxy
Severity: normal

User should be able to configure the port number etc settings, which are
now hard coded in init.d script. 

SUGGESTION

Move following variables 

    USER=anon-proxy
    GROUP=nogroup
    PIDFILE=/var/run/anon-proxy/proxytest.pid

    OPTIONS="-j -p 4001 -n 132.199.134.2:3000 -a -d"

To /etc/default/anon-proxy  and source this file in /etc/init.d/anon-proxy
like this:

   conf=/etc/init.d/anon-proxy

   if [ -f $conf ]; then
      . $conf
   else
      echo "$0: [ERROR] $conf missing"
      exit 1
   fi

You may also want to move "set -e" call before the if statement.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to