diff --git a/debian/postinst b/debian/postinst
index 3ed650dae4b66c64997ac61f802692457c4b9a86..a9c3e82fcb663304af8f0163b42ad77165cbc6ef 100644 (file)
--- a/debian/postinst
+++ b/debian/postinst
configure)
if ! getent passwd nagios > /dev/null ; then
echo 'Adding system-user for nagios' 1>&2
- adduser --system --group --home /var/run/nagios3 --no-create-home \
- --disabled-login --force-badname nagios > /dev/null
+ adduser --system --group --home /var/lib/nagios \
+ --disabled-login --force-badname nagios > /dev/null
fi
setperm nagios www-data 750 /var/lib/pnp4nagios
setperm nagios nagios 755 /var/lib/pnp4nagios/perfdata