diff options
author | ache <ache@FreeBSD.org> | 2006-11-08 04:20:10 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2006-11-08 04:20:10 +0800 |
commit | 333e323333d1dc29a16f7b93025a074ae2935477 (patch) | |
tree | 14dc36fc94bb3c9a198758bf1f61d393b6634178 /mail/dk-milter/files | |
parent | 36aa1beb50069f0a42bdb5485c101e51b89bc18f (diff) | |
download | freebsd-ports-gnome-333e323333d1dc29a16f7b93025a074ae2935477.tar.gz freebsd-ports-gnome-333e323333d1dc29a16f7b93025a074ae2935477.tar.zst freebsd-ports-gnome-333e323333d1dc29a16f7b93025a074ae2935477.zip |
Install gentxt as gentxt-dk
Use "mailnull" as default user
Always chown piddir
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp>
Diffstat (limited to 'mail/dk-milter/files')
-rw-r--r-- | mail/dk-milter/files/milter-dk.sh.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/dk-milter/files/milter-dk.sh.in b/mail/dk-milter/files/milter-dk.sh.in index f4aa86b539ac..0f7b2ff1ffd0 100644 --- a/mail/dk-milter/files/milter-dk.sh.in +++ b/mail/dk-milter/files/milter-dk.sh.in @@ -38,7 +38,7 @@ load_rc_config $name # DO NOT CHANGE THESE DEFAULT VALUES HERE # milterdk_enable=${milterdk_enable:-"NO"} -milterdk_uid=${milterdk_uid:-"dkfilter"} +milterdk_uid=${milterdk_uid:-"mailnull"} milterdk_profiles=${milterdk_profiles:-} milterdk_socket=${milterdk_socket:-"unix:/var/run/milterdk/filter"} milterdk_domain=${milterdk_domain:-"example.com"} @@ -100,10 +100,9 @@ dk_prepcmd () elif [ -S ${milterdk_socket##unix:} ] ; then rm -f ${milterdk_socket##unix:} fi - if [ -d ${_piddir} ] ; then - return; + if [ ! -d ${_piddir} ] ; then + mkdir -p ${_piddir} fi - mkdir -p ${_piddir} if [ -n "${milterdk_uid}" ] ; then chown ${milterdk_uid} ${_piddir} fi |