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:
parent
79d9884141
commit
e9ff524803
@ -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">
|
||||
|
@ -454,7 +454,7 @@
|
||||
echo 'ExecStart=/usr/bin/pgbackrest server' | tee -a /etc/systemd/system/pgbackrest.service &&
|
||||
echo 'ExecStartPost=/bin/sleep 3' | tee -a /etc/systemd/system/pgbackrest.service &&
|
||||
echo 'ExecStartPost=/bin/bash -c "[ ! -z $MAINPID ]"' | tee -a /etc/systemd/system/pgbackrest.service &&
|
||||
echo 'ExecReload=kill -HUP $MAINPID' | tee -a /etc/systemd/system/pgbackrest.service &&
|
||||
echo 'ExecReload=/bin/kill -HUP $MAINPID' | tee -a /etc/systemd/system/pgbackrest.service &&
|
||||
echo '' | tee -a /etc/systemd/system/pgbackrest.service &&
|
||||
echo '[Install]' | tee -a /etc/systemd/system/pgbackrest.service &&
|
||||
echo 'WantedBy=multi-user.target' | tee -a /etc/systemd/system/pgbackrest.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user