[Unit] Description=Backup PostgreSQL Wants=backup.timer [Service] Type=oneshot ExecStart=/bin/bash /var/lib/pgsql/backup.sh User={{ wal_g_pg_backup_owner }} Group={{ wal_g_pg_backup_group }} [Install] WantedBy=multi-user.target