postgres-backup/misc/packaging/postgres-backup.service

10 lines
192 B
SYSTEMD
Raw Normal View History

2022-10-31 16:51:47 +01:00
[Unit]
Description=Run PostgreSQL backup
[Service]
Type=oneshot
ExecStart=/usr/bin/pg_backup_rotated.sh -c /etc/postgres-backup/pg_backup.conf
User=postgres
[Install]
WantedBy=default.target