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
Same here
probably better solution(?):
# make sure that the pidfile directory exists ${PIDFILE% /*}
PIDDIR=
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