summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@fedoraproject.org>2005-01-11 20:42:37 +0000
committerDaniel J Walsh <dwalsh@fedoraproject.org>2005-01-11 20:42:37 +0000
commit60170234ebc77eec82e3b22c61f3e816c35f5884 (patch)
tree2bb67c384187539b808f7fa3a0ed307fa1c2d895
parenta884bda9879e83d55764818ca172b5d8486f3849 (diff)
downloadpostgresql-setup-60170234ebc77eec82e3b22c61f3e816c35f5884.tar.gz
postgresql-setup-60170234ebc77eec82e3b22c61f3e816c35f5884.tar.xz
postgresql-setup-60170234ebc77eec82e3b22c61f3e816c35f5884.zip
fix restorecon line
-rw-r--r--postgresql.init2
1 files changed, 1 insertions, 1 deletions
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