aports/cron/postgresql/APKBUILD

18 lines
529 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_cronname=postgresql
. ../APKBUILD-cron.common
pkgver=2021.01.29
pkgrel=0
install_if="redxen-config-postgresql"
source="cron-daily"
package() {
install -dm700 "$pkgdir"/var/lib/postgresql/redxen_snapshots
install -Dm544 cron-daily "$pkgdir"/etc/periodic/daily/snapshot-postgresql
}
sha512sums="c6dfc277e98287d715651a3b54a9661c527dac4cc4be932a23888a5cfa659fc971ffa20982820c9a91064dad90968124b5764e9827a4ecf038b35b4cce5d430b cron-daily"