utils/spacewalk-hostname-rename | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 94338efd5949b068a0b997cda7a971a5df3c98d7
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Wed Nov 13 09:26:46 2013 +0100
adding postgresql92-postgresql to possible db service names
diff --git a/utils/spacewalk-hostname-rename b/utils/spacewalk-hostname-rename
index fa8c512..06472c1 100755
--- a/utils/spacewalk-hostname-rename
+++ b/utils/spacewalk-hostname-rename
@@ -48,6 +48,9 @@ elif [ "$(spacewalk-cfg-get db_backend)" =
"postgresql" ]; then
if [ -x /etc/init.d/postgresql ]; then
DB_SERVICE="postgresql"
fi
+ if [ -x /etc/init.d/postgresql92-postgresql ]; then
+ DB_SERVICE="postgresql92-postgresql"
+ fi
fi
MONITORING_ENABLED=`awk -F= '! /[[:space:]]*#/ && /web.is_monitoring_backend/
{gsub(/[[:space:]]*/,""); print $2}' $RHN_CONF_FILE`
Show replies by date