using new sysconfig file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I installed postgrey from rpmforge and wanted to use sysconfig to change 
options instead of overwriting the init file. However, I get a weird 
warning from postgrey. I'm not sure if this is a postgrey quirk or I use 
sysconfig the wrong way.

/etc/sysconfig/postgrey:
OPTIONS="--unix=/var/spool/postfix/postgrey/socket --delay=660"

/etc/rc.d/init.d/postgrey:
OPTIONS="--unix=$SOCKET --delay=660"

# Source an auxiliary options file if we have one, and pick up OPTIONS,
if [ -r /etc/sysconfig/$prog ]; then
    . /etc/sysconfig/$prog
fi

Error:
" invalid for option delay (number expected)

(The quote marks are necessary!)

Using the additional option directly in the init file works just fine.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux