summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c607153)
raw | patch | inline | side by side (parent: c607153)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 Feb 2011 16:47:31 +0000 (17:47 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 Feb 2011 16:47:31 +0000 (17:47 +0100) |
debian/postinst | patch | blob | history |
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