summaryrefslogtreecommitdiffstats
path: root/systemd/postgresql.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/postgresql.service')
-rw-r--r--systemd/postgresql.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/postgresql.service b/systemd/postgresql.service
new file mode 100644
index 0000000..bcaf814
--- /dev/null
+++ b/systemd/postgresql.service
@@ -0,0 +1,15 @@
+# systemd service for managing all PostgreSQL clusters on the system. This
+# service is actually a systemd target, but we are using a service since
+# targets cannot be reloaded.
+
+[Unit]
+Description=PostgreSQL RDBMS
+
+[Service]
+Type=oneshot
+ExecStart=/bin/true
+ExecReload=/bin/true
+RemainAfterExit=on
+
+[Install]
+WantedBy=multi-user.target