[Pkg-nagios-changes] [SCM] Debian packaging for inGraph branch, master, updated. debian/1.0.1-2_beta+1-9-gaef3728

Markus Frosch markus at lazyfrosch.de
Wed Mar 27 20:48:47 UTC 2013


The following commit has been merged in the master branch:
commit aef37284f64ce3a1d3175c4b58b8952f428c2386
Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Wed Mar 27 21:47:43 2013 +0100

    Move system user home to /var/spool/ingraph

diff --git a/debian/TODO b/debian/TODO
index d22b687..6621559 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -8,7 +8,6 @@ TODO list:
 * maybe ingraph-web
 * extjs depedency
 * postgresql testing and integration
-* move home away from /etc
 
  -- Markus Frosch <markus at lazyfrosch.de>  Wed, 15 Nov 2012 16:56:48 +0200
 
diff --git a/debian/ingraph.postinst b/debian/ingraph.postinst
index b9b4e66..74d598c 100644
--- a/debian/ingraph.postinst
+++ b/debian/ingraph.postinst
@@ -125,7 +125,7 @@ case "$1" in
     # create the local user
     if ! getent passwd ingraph > /dev/null ; then
       echo 'Adding system-user for inGraph' 1>&2
-      adduser --system --group --home /etc/ingraph \
+      adduser --system --group --home /var/spool/ingraph \
               --disabled-login --force-badname ingraph > /dev/null
     fi
 

-- 
Debian packaging for inGraph



More information about the Pkg-nagios-changes mailing list