ansible-roles/postgresql/templates/wal_archive_cleanup.j2

7 lines
134 B
Plaintext
Raw Normal View History

#!/bin/bash
su - postgres -c "/usr/local/sbin/postgresql_wal_backup_and_removal > /var/log/postgresql/wal_removal.log 2>&1"
exit 0