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
--
exim4 init script fails to create pid file
https://launchpad.net/bugs/48045
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
