diff options
author | Renato Botelho <garga@FreeBSD.org> | 2007-12-12 11:15:27 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2007-12-12 11:15:27 +0000 |
commit | b48047462230cc2744fdb880557fe29fdaffe4fc (patch) | |
tree | 54ec6283e95bfd1b20d39d86ed03709bb72889cb /security/clamav-devel/files | |
parent | ab7970ecd51b9798f4e0dd6a672c87c7c1b55f28 (diff) |
Notes
Diffstat (limited to 'security/clamav-devel/files')
-rw-r--r-- | security/clamav-devel/files/clamav-milter.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/clamav-devel/files/clamav-milter.in b/security/clamav-devel/files/clamav-milter.in index 90a3f2bf8c2e..509d05e3d42c 100644 --- a/security/clamav-devel/files/clamav-milter.in +++ b/security/clamav-devel/files/clamav-milter.in @@ -27,6 +27,7 @@ required_dirs=%%DBDIR%% required_files=%%PREFIX%%/etc/clamd.conf start_precmd=start_precmd +start_postcmd=start_postcmd start_precmd() { @@ -56,12 +57,18 @@ start_precmd() fi } +start_postcmd() +{ + /bin/chmod ${clamav_milter_socket_mode} ${clamav_milter_socket} +} + # read settings, set default values load_rc_config $name : ${clamav_milter_enable="NO"} : ${clamav_milter_socket="%%CLAMAV_MILTER_SOCKET%%"} : ${clamav_milter_flags="--postmaster-only --local --outgoing --timeout=0 --max-children=50"} : ${clamav_milter_socktimeout="60"} +: ${clamav_milter_socket_mode="755"} : ${clamav_clamd_socket="%%CLAMAV_CLAMD_SOCKET%%"} : ${clamav_clamd_enable="NO"} |