summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--postgresql.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/postgresql.service b/postgresql.service
index e59ce5c..4414d11 100644
--- a/postgresql.service
+++ b/postgresql.service
@@ -1,3 +1,19 @@
+# It's not recommended to modify this file in-place, because it will be
+# overwritten during package upgrades. If you want to customize, the
+# best way is to create a file "/etc/systemd/system/postgresql.service",
+# containing
+# .include /lib/systemd/system/postgresql.service
+# ...make your changes here...
+# For more info about custom unit files, see
+# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
+
+# For example, if you want to change the server's port number to 5433,
+# create a file named "/etc/systemd/system/postgresql.service" containing:
+# .include /lib/systemd/system/postgresql.service
+# [Service]
+# Environment=PGPORT=5433
+# This will override the setting appearing below.
+
[Unit]
Description=PostgreSQL database server
After=syslog.target