diff options
Diffstat (limited to 'security/clamav/files/clamav-milter.sh')
-rw-r--r-- | security/clamav/files/clamav-milter.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/clamav/files/clamav-milter.sh b/security/clamav/files/clamav-milter.sh index bd09f7ec0ac5..a69f974848c9 100644 --- a/security/clamav/files/clamav-milter.sh +++ b/security/clamav/files/clamav-milter.sh @@ -4,7 +4,7 @@ # # PROVIDE: clamav-milter -# REQUIRE: LOGIN +# REQUIRE: LOGIN clamd # BEFORE: mail # KEYWORD: FreeBSD shutdown @@ -22,6 +22,7 @@ name=clamav_milter rcvar=`set_rcvar` command=%%PREFIX%%/sbin/clamav-milter +pidfile=%%RUNDIR%%/clamav-milter.pid required_dirs=%%DBDIR%% required_files=%%PREFIX%%/etc/clamd.conf @@ -33,7 +34,7 @@ start_precmd() warn "Stale socket $clamav_milter_socket removed." rm "$clamav_milter_socket" fi - rc_flags="${flags:-$clamav_milter_flags} $clamav_milter_socket" + rc_flags="--pidfile ${pidfile} ${flags:-$clamav_milter_flags} $clamav_milter_socket" } # read settings, set default values |