2020-12-23 13:05:17 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
pkgname=redxen-cron-postgresql
|
2020-12-27 13:04:43 +00:00
|
|
|
pkgver=2020.12.27
|
2020-12-23 13:05:17 +00:00
|
|
|
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"/databases/snapshots/postgresql
|
|
|
|
install -Dm544 cron-daily "$pkgdir"/etc/periodic/daily/snapshot-postgresql
|
|
|
|
}
|
|
|
|
|
2020-12-27 13:04:43 +00:00
|
|
|
sha512sums="784beb8f50222f477043a29c3feb63beb4a84903fcf8ba0210e2a5fd617b2f52e99faae9fcebf7a8234471cf28a685203ed8af503e6c12676c1d41a58f89b2a6 cron-daily"
|