Skip to content

Commit

Permalink
[PLAT-14848] postgres.service file did not have RestartSec filled out
Browse files Browse the repository at this point in the history
Summary:
The template used for postgres.service had an incorrect yaml path
for getting the restart seconds value from yba-ctl.yml. Updated to
postgres.install.restartSeconds

Test Plan: validated service file is correct

Reviewers: muthu, sanketh

Reviewed By: muthu

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D37061
  • Loading branch information
shubin-yb committed Aug 6, 2024
1 parent 3923ec5 commit 709cd92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
-w -o "-k {{ .MountPath }}" -l {{ .LogFile }} stop
Restart=always
RestartSec={{ yamlPath "postgres.restartSeconds"}}
RestartSec={{ yamlPath "postgres.install.restartSeconds"}}
[Install]
WantedBy=multi-user.target

0 comments on commit 709cd92

Please sign in to comment.