diff options
author | pettai <pettai@pkgsrc.org> | 2011-06-17 13:42:04 +0000 |
---|---|---|
committer | pettai <pettai@pkgsrc.org> | 2011-06-17 13:42:04 +0000 |
commit | 11e8f56d1bdb75c76f455c1f36ff5d73009dd5b4 (patch) | |
tree | 9d6f53702ff6031408a76b8558033e949313b61e /mail | |
parent | b748c1b3f7dcc06d88e75945b1c68cbe0e83bcfe (diff) | |
download | pkgsrc-11e8f56d1bdb75c76f455c1f36ff5d73009dd5b4.tar.gz |
Made some corrections to the rc script
Diffstat (limited to 'mail')
-rw-r--r-- | mail/opendkim/files/opendkim.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/opendkim/files/opendkim.sh b/mail/opendkim/files/opendkim.sh index 6374ad4ffb3..ca992693350 100644 --- a/mail/opendkim/files/opendkim.sh +++ b/mail/opendkim/files/opendkim.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: opendkim.sh,v 1.1.1.1 2010/10/19 23:11:42 pettai Exp $ +# $NetBSD: opendkim.sh,v 1.2 2011/06/17 13:42:04 pettai Exp $ # # PROVIDE: opendkim # REQUIRE: DAEMON @@ -16,9 +16,9 @@ command="@PREFIX@/sbin/opendkim" pidfile="@VARBASE@/run/${name}.pid" command_args="-P ${pidfile} -l -x @PKG_SYSCONFDIR@/opendkim.conf -u @DKIM_USER@:@DKIM_GROUP@" required_files="@PKG_SYSCONFDIR@/opendkim.conf" -start_precmd="dkimfilter_precmd" +start_precmd="opendkim_precmd" -dkimfilter_precmd() +opendkim_precmd() { if [ ! -d @VARBASE@/run/opendkim ]; then @MKDIR@ @VARBASE@/run/opendkim @@ -36,5 +36,5 @@ if [ -f /etc/rc.subr ]; then run_rc_command "$1" else echo -n " ${name}" - ${command} ${dkimfilter_flags} ${command_args} + ${command} ${opendkim_flags} ${command_args} fi |