mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Add WorkingDirectory to systemd sample config. (#686)
Otherwise `initdb` fails because it tries to create the data directory in the root directory where the postgres user has no permissions.
This commit is contained in:
committed by
Alexander Kukushkin
parent
1de7c78c04
commit
e5f2511764
@@ -11,6 +11,8 @@ Type=simple
|
||||
User=postgres
|
||||
Group=postgres
|
||||
|
||||
WorkingDirectory=~
|
||||
|
||||
# Where to send early-startup messages from the server
|
||||
# This is normally controlled by the global default set by systemd
|
||||
# StandardOutput=syslog
|
||||
|
||||
Reference in New Issue
Block a user