Update patroni.service (#1702)

If "WorkingDirectory" not set, defaults to the respective user's home directory if run as user.

Close  #1688
This commit is contained in:
sergey grinko
2020-09-28 12:26:17 +02:00
committed by GitHub
parent 885d226dac
commit e2b15eacdf
+2 -1
View File
@@ -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