From 60170234ebc77eec82e3b22c61f3e816c35f5884 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 11 Jan 2005 20:42:37 +0000 Subject: fix restorecon line --- postgresql.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql.init b/postgresql.init index fc98742..6dd7ba2 100644 --- a/postgresql.init +++ b/postgresql.init @@ -166,7 +166,7 @@ start(){ mkdir -p $PGDATA || exit 1 chown postgres:postgres $PGDATA chmod go-rwx $PGDATA - [ -x /sbin/restorecon ] && restorecon $PGDATADIR + [ -x /sbin/restorecon ] && restorecon -R $PGDATADIR fi # Make sure the locale from the initdb is preserved for later startups... [ -f /etc/sysconfig/i18n ] && cp /etc/sysconfig/i18n $PGDATA/../initdb.i18n -- cgit