summaryrefslogtreecommitdiff
path: root/dev-db/postgresql/files/postgresql.service
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/postgresql/files/postgresql.service')
-rw-r--r--dev-db/postgresql/files/postgresql.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/postgresql.service b/dev-db/postgresql/files/postgresql.service
index 20ed27a10f2..a607169d22f 100644
--- a/dev-db/postgresql/files/postgresql.service
+++ b/dev-db/postgresql/files/postgresql.service
@@ -47,5 +47,9 @@ TimeoutSec=300
# Disable OOM kill on the postmaster
OOMScoreAdjust=-1000
+# Make sure the required runtimedir is present
+RuntimeDirectory=postgresql
+RuntimeDirectoryMode=1775
+
[Install]
WantedBy=multi-user.target