diff options
Diffstat (limited to 'mail-filter/opendmarc/files/opendmarc.initd')
-rw-r--r-- | mail-filter/opendmarc/files/opendmarc.initd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail-filter/opendmarc/files/opendmarc.initd b/mail-filter/opendmarc/files/opendmarc.initd index 6a8300f145d6..3f55464e11b4 100644 --- a/mail-filter/opendmarc/files/opendmarc.initd +++ b/mail-filter/opendmarc/files/opendmarc.initd @@ -15,8 +15,9 @@ check_cfg() { return 1 fi # create /var/run/opendmarc - mkdir -p /var/run/opendmarc >& /dev/null - chown ${OPENDMARC_USER}:${OPENDMARC_GROUP} /var/run/opendmarc >& /dev/null + mkdir -p /var/run/opendmarc > /dev/null 2>&1 + chown ${OPENDMARC_USER}:${OPENDMARC_GROUP} \ + /var/run/opendmarc > /dev/null 2>&1 PIDFILE=$(sed -ne 's/^[[:space:]]*PidFile[[:space:]]\+//p' "${CONFFILE}") local PIDDIR="${PIDFILE%/*}" if [ ! -d "${PIDDIR}" ] ; then |