pgbackrest/pgbackrest-diff@.service
Marcus Rueckert f9a5567409 - add systemd services:
- diff/full/incremental backup
  - pgbackrest services for the TLS server
  - add pgbackrest.target to restart/stop all sub services
- add Requires(pre) for postgresql-server to make sure the
  postgresql user is available for file permissions
- change permissions of the config file from 0644 to 0640 as the
  file can contain passwords and encryption keys.
- modernize the spec file

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=43
2022-02-18 17:58:46 +00:00

16 lines
431 B
Desktop File

[Unit]
Description=pgbackrest backup diff for %i
Documentation=https://pgbackrest.org/configuration.html
Documentation=man:pgbackrest(1) man:pgbackrest.conf(5)
ConditionACPower=true
PartOf=pgbackrest.target
[Service]
Type=oneshot
User=postgres
Group=postgres
ExecStart=/usr/bin/pgbackrest --log-level-console=info --stanza=%i --type=diff backup
# Give a reasonable amount of time for job to finish
TimeoutSec=7200