]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - builder-support/specs/pdns-recursor.spec
rec: Fix home directory location comment in the EL spec
[thirdparty/pdns.git] / builder-support / specs / pdns-recursor.spec
index 227121ab264cfb2b1cad40f25598104dff3aaa7b..cbb5c1942661d3f825901c09831166be7914e294 100644 (file)
@@ -106,7 +106,7 @@ getent group pdns-recursor > /dev/null || groupadd -r pdns-recursor
 getent passwd pdns-recursor > /dev/null || \
     useradd -r -g pdns-recursor -d /var/lib/pdns-recursor -s /sbin/nologin \
     -c "PowerDNS Recursor user" pdns-recursor
-# Change home directory to /var/lib/pdns
+# Change home directory to /var/lib/pdns-recursor if needed
 if [[ $(getent passwd pdns-recursor | cut -d: -f6) == "/" ]]; then
     usermod -d /var/lib/pdns-recursor pdns-recursor
 fi