diff --git a/extras/startup-scripts/patroni.service b/extras/startup-scripts/patroni.service index fb23ad95..b2289f75 100644 --- a/extras/startup-scripts/patroni.service +++ b/extras/startup-scripts/patroni.service @@ -14,7 +14,8 @@ Group=postgres # Read in configuration file if it exists, otherwise proceed EnvironmentFile=-/etc/patroni_env.conf -WorkingDirectory=~ +# the default is the user's home directory, and if you want to change it, you must provide an absolute path. +# WorkingDirectory=/home/sameuser # Where to send early-startup messages from the server # This is normally controlled by the global default set by systemd