summaryrefslogtreecommitdiffstats
path: root/postgresql.service
diff options
context:
space:
mode:
authorTom Lane <tgl@redhat.com>2012-03-17 12:47:37 -0400
committerTom Lane <tgl@redhat.com>2012-03-17 12:47:37 -0400
commit26914bdffa7aa3eff4da9e93a59aa212ceab02e1 (patch)
treefd597249a1535dcf9ac3640b207e888e79b963c3 /postgresql.service
parent628f33b2f41f07dcb9048891875e7f0bfa9ae39b (diff)
downloadpostgresql-setup-26914bdffa7aa3eff4da9e93a59aa212ceab02e1.tar.gz
postgresql-setup-26914bdffa7aa3eff4da9e93a59aa212ceab02e1.tar.xz
postgresql-setup-26914bdffa7aa3eff4da9e93a59aa212ceab02e1.zip
Fix postgresql-setup to rely on systemd to parse the unit file
Diffstat (limited to 'postgresql.service')
-rw-r--r--postgresql.service9
1 files changed, 6 insertions, 3 deletions
diff --git a/postgresql.service b/postgresql.service
index 4414d11..123c4fe 100644
--- a/postgresql.service
+++ b/postgresql.service
@@ -14,6 +14,12 @@
# Environment=PGPORT=5433
# This will override the setting appearing below.
+# Note: do not use a PGDATA pathname containing spaces, or you will
+# break postgresql-setup.
+
+# Note: in F-17 and beyond, /usr/lib/... is recommended in the .include line
+# though /lib/... will still work.
+
[Unit]
Description=PostgreSQL database server
After=syslog.target
@@ -25,9 +31,6 @@ Type=forking
User=postgres
Group=postgres
-# Note: avoid inserting whitespace in these Environment= lines, or you may
-# break postgresql-setup.
-
# Port number for server to listen on
Environment=PGPORT=5432