1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Add absolute path for kill in pgbackrest.service.

This commit is contained in:
David Steele 2022-07-26 15:15:12 -04:00
parent 79d9884141
commit e9ff524803
2 changed files with 14 additions and 1 deletions

View File

@ -40,6 +40,19 @@
</release-item>
</release-improvement-list>
</release-core-list>
<release-doc-list>
<release-improvement-list>
<release-item>
<release-item-contributor-list>
<release-item-ideator id="don.seiler"/>
<release-item-contributor id="david.steele"/>
</release-item-contributor-list>
<p>Add absolute path for <id>kill</id> in <file>pgbackrest.service</file>.</p>
</release-item>
</release-improvement-list>
</release-doc-list>
</release>
<release date="2022-07-18" version="2.40" title="OpenSSL 3 Support">

View File

@ -454,7 +454,7 @@
echo 'ExecStart=/usr/bin/pgbackrest server' | tee -a /etc/systemd/system/pgbackrest.service &amp;&amp;
echo 'ExecStartPost=/bin/sleep 3' | tee -a /etc/systemd/system/pgbackrest.service &amp;&amp;
echo 'ExecStartPost=/bin/bash -c "[ ! -z $MAINPID ]"' | tee -a /etc/systemd/system/pgbackrest.service &amp;&amp;
echo 'ExecReload=kill -HUP $MAINPID' | tee -a /etc/systemd/system/pgbackrest.service &amp;&amp;
echo 'ExecReload=/bin/kill -HUP $MAINPID' | tee -a /etc/systemd/system/pgbackrest.service &amp;&amp;
echo '' | tee -a /etc/systemd/system/pgbackrest.service &amp;&amp;
echo '[Install]' | tee -a /etc/systemd/system/pgbackrest.service &amp;&amp;
echo 'WantedBy=multi-user.target' | tee -a /etc/systemd/system/pgbackrest.service