init script bugs

Issue #14 closed
Marcel Evenson created an issue

clapf was built using the default:

./configure --localstatedir=/var --with-database=mysql --enable-clamd  --enable-starttls

Make install installed the config files to /usr/local/etc and the bin files to /usr/local/sbin/

When attempting a restart I get this:

# /etc/init.d/rc.clapf restart
/etc/init.d/rc.clapf: line 19: test: too many arguments
stopping clapf
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
starting clapf . . .
error parsing the configfile: /etc/clapf.conf
  1. See line 19: test: too many arguments 2 . It trying to use /etc/clapf.conf and not /usr/local/etc/clapf.conf? Shouldn't configure tell it where the conf files should be?

Comments (1)

  1. Log in to comment