Comment 2 for bug 48045

Revision history for this message
Chris (chfritsch-gmx) wrote :

Same here

probably better solution(?):

# make sure that the pidfile directory exists
PIDDIR=${PIDFILE%/*}
if [ ! -d "$PIDDIR" ]; then
    mkdir "$PIDDIR"
    chmod 0755 "$PIDDIR"
    chown Debian-exim "$PIDDIR"

now the user Debian-exim is the owner of /var/run/exim4. (taken from /etc/init.d/munin)

Cheers,
Chris