23 lines
654 B
Plaintext
23 lines
654 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=redxen-cron-postgresql
|
|
pkgver=2020.12.27
|
|
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
|
|
}
|
|
|
|
sha512sums="784beb8f50222f477043a29c3feb63beb4a84903fcf8ba0210e2a5fd617b2f52e99faae9fcebf7a8234471cf28a685203ed8af503e6c12676c1d41a58f89b2a6 cron-daily"
|