[Unit] Description=Backups retention for PostgreSQL Wants=backup-retention.timer [Service] Type=oneshot ExecStart=/bin/bash {{ wal_g_pg_home_dir }}/backup-retention.sh User={{ wal_g_pg_backup_owner }} Group={{ wal_g_pg_backup_group }} [Install] WantedBy=multi-user.target