aports/cron/postgresql/APKBUILD

23 lines
659 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-cron-postgresql
pkgver=2020.12.29
pkgrel=0
pkgdesc="Postgresql backup maintenance scripts"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
install_if="redxen-config-postgresql"
depends="dcron"
source="
cron-daily
"
options="!check"
package() {
install -dm700 "$pkgdir"/var/lib/postgresql/redxen_snapshots
install -Dm544 cron-daily "$pkgdir"/etc/periodic/daily/snapshot-postgresql
}
sha512sums="c6dfc277e98287d715651a3b54a9661c527dac4cc4be932a23888a5cfa659fc971ffa20982820c9a91064dad90968124b5764e9827a4ecf038b35b4cce5d430b cron-daily"