pgbackrest: Add Restart=on-failure to unit file. Per https://github.com/pgdg-packagin...
authorDevrim Gunduz <devrim@gunduz.org>
Wed, 24 Dec 2025 11:37:52 +0000 (14:37 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Wed, 24 Dec 2025 11:37:52 +0000 (14:37 +0300)
rpm/redhat/main/common/pgbackrest/main/pgbackrest.service
rpm/redhat/main/common/pgbackrest/main/pgbackrest.spec

index bbb79893c1e527b3398745fc7f21c231264c3051..70a1c218a54cfa0414ab34c4915e61d66c83ca1f 100644 (file)
@@ -25,5 +25,7 @@ ExecStartPost=/bin/sleep 3
 ExecStartPost=/bin/bash -c "[ ! -z $MAINPID ]"
 ExecReload=kill -HUP $MAINPID
 
+Restart=on-failure
+
 [Install]
 WantedBy=multi-user.target
index e994f12e2aba8ecf9e84327f90ed3128a644e075..9e8a6cdbbc41b54c7bb56cdf3e764defb0d8b471 100644 (file)
@@ -4,7 +4,7 @@
 Summary:       Reliable PostgreSQL Backup & Restore
 Name:          pgbackrest
 Version:       2.57.0
-Release:       4PGDG%{?dist}
+Release:       5PGDG%{?dist}
 License:       MIT
 Url:           http://www.pgbackrest.org/
 Source0:       https://github.com/pgbackrest/pgbackrest/archive/release/%{version}.tar.gz
@@ -126,6 +126,10 @@ fi
 %attr(-,postgres,postgres) /var/spool/%{name}
 
 %changelog
+* Wed Dec 24 2025 Devrim Gündüz <devrim@gunduz.org> - 2.57.0-5PGDG
+- Add Restart=on-failure to unit file. Per
+  https://github.com/pgdg-packaging/pgdg-rpms/issues/127
+
 * Mon Nov 17 2025 Devrim Gündüz <devrim@gunduz.org> - 2.57.0-4PGDG
 - Fix unit file name in %%post scripts. Per report from Stefan Fercot.
   Fixes https://github.com/pgdg-packaging/pgdg-rpms/issues/121