summaryrefslogtreecommitdiffstats
path: root/postgresql.service
diff options
context:
space:
mode:
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