postgres-backup/debian/postgres-backup.service

10 lines
192 B
SYSTEMD
Raw Normal View History

2020-10-13 15:37:16 +02:00
[Unit]
Description=Run PostgreSQL backup
[Service]
Type=oneshot
2020-10-13 16:19:31 +02:00
ExecStart=/usr/bin/pg_backup_rotated.sh -c /etc/postgres-backup/pg_backup.conf
2020-10-13 17:02:14 +02:00
User=postgres
2020-10-13 15:37:16 +02:00
[Install]
WantedBy=default.target