Merge common cron properties
This commit is contained in:
parent
767c7cf7fc
commit
97d1845f81
8
cron/APKBUILD-cron.common
Normal file
8
cron/APKBUILD-cron.common
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
pkgname="redxen-cron-$_cronname"
|
||||||
|
pkgdesc="Cronjob files for $_cronname"
|
||||||
|
url="https://git.redxen.eu/RedXen/aports"
|
||||||
|
arch="noarch"
|
||||||
|
license="none"
|
||||||
|
depends="dcron"
|
||||||
|
options="!check"
|
||||||
|
builddir="$srcdir"
|
@ -1,18 +1,13 @@
|
|||||||
# Contributor: Alex Denes <caskd@redxen.eu>
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
pkgname=redxen-cron-mail
|
_cronname=dovecot
|
||||||
pkgver=2021.01.13
|
|
||||||
pkgrel=1
|
. ../APKBUILD-cron.common
|
||||||
pkgdesc="Mail backup maintenance scripts"
|
|
||||||
url="https://git.redxen.eu/RedXen"
|
pkgver=2021.01.29
|
||||||
arch="noarch"
|
pkgrel=0
|
||||||
license="none"
|
|
||||||
install_if="redxen-config-dovecot"
|
install_if="redxen-config-dovecot"
|
||||||
depends="dcron"
|
source="cron-daily"
|
||||||
source="
|
|
||||||
cron-daily
|
|
||||||
"
|
|
||||||
options="!check"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "$pkgdir"/var/mail/snapshots
|
mkdir -p "$pkgdir"/var/mail/snapshots
|
@ -1,18 +1,13 @@
|
|||||||
# Contributor: Alex Denes <caskd@redxen.eu>
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
pkgname=redxen-cron-gitea
|
_cronname=gitea
|
||||||
pkgver=2020.12.27
|
|
||||||
pkgrel=1
|
. ../APKBUILD-cron.common
|
||||||
pkgdesc="Gitea backup maintenance scripts"
|
|
||||||
url="https://git.redxen.eu/RedXen"
|
pkgver=2021.01.29
|
||||||
arch="noarch"
|
pkgrel=0
|
||||||
license="none"
|
|
||||||
install_if="redxen-config-gitea"
|
install_if="redxen-config-gitea"
|
||||||
depends="dcron"
|
source="cron-daily"
|
||||||
source="
|
|
||||||
cron-daily
|
|
||||||
"
|
|
||||||
options="!check"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -dm700 "$pkgdir"/gitea/snapshots
|
install -dm700 "$pkgdir"/gitea/snapshots
|
||||||
|
@ -1,18 +1,13 @@
|
|||||||
# Contributor: Alex Denes <caskd@redxen.eu>
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
pkgname=redxen-cron-influxdb
|
_cronname=influxdb
|
||||||
pkgver=2020.12.29
|
|
||||||
|
. ../APKBUILD-cron.common
|
||||||
|
|
||||||
|
pkgver=2021.01.29
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="InfluxDB backup maintenance scripts"
|
|
||||||
url="https://git.redxen.eu/RedXen"
|
|
||||||
arch="noarch"
|
|
||||||
license="none"
|
|
||||||
install_if="redxen-config-influxdb"
|
install_if="redxen-config-influxdb"
|
||||||
depends="dcron"
|
source="cron-daily"
|
||||||
source="
|
|
||||||
cron-daily
|
|
||||||
"
|
|
||||||
options="!check"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -dm700 "$pkgdir"/var/lib/influxdb/snapshots
|
install -dm700 "$pkgdir"/var/lib/influxdb/snapshots
|
||||||
|
@ -1,18 +1,13 @@
|
|||||||
# Contributor: Alex Denes <caskd@redxen.eu>
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
pkgname=redxen-cron-postgresql
|
_cronname=postgresql
|
||||||
pkgver=2020.12.29
|
|
||||||
|
. ../APKBUILD-cron.common
|
||||||
|
|
||||||
|
pkgver=2021.01.29
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Postgresql backup maintenance scripts"
|
|
||||||
url="https://git.redxen.eu/RedXen"
|
|
||||||
arch="noarch"
|
|
||||||
license="none"
|
|
||||||
install_if="redxen-config-postgresql"
|
install_if="redxen-config-postgresql"
|
||||||
depends="dcron"
|
source="cron-daily"
|
||||||
source="
|
|
||||||
cron-daily
|
|
||||||
"
|
|
||||||
options="!check"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -dm700 "$pkgdir"/var/lib/postgresql/redxen_snapshots
|
install -dm700 "$pkgdir"/var/lib/postgresql/redxen_snapshots
|
||||||
|
@ -1,18 +1,13 @@
|
|||||||
# Contributor: Alex Denes <caskd@redxen.eu>
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||||
pkgname=redxen-cron-redis
|
_cronname=redis
|
||||||
pkgver=2020.12.29
|
|
||||||
|
. ../APKBUILD-cron.common
|
||||||
|
|
||||||
|
pkgver=2021.01.29
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Redis backup maintenance scripts"
|
|
||||||
url="https://git.redxen.eu/RedXen"
|
|
||||||
arch="noarch"
|
|
||||||
license="none"
|
|
||||||
install_if="redxen-config-redis"
|
install_if="redxen-config-redis"
|
||||||
depends="dcron"
|
source="cron-daily"
|
||||||
source="
|
|
||||||
cron-daily
|
|
||||||
"
|
|
||||||
options="!check"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -dm700 "$pkgdir"/var/lib/redis/snapshots
|
install -dm700 "$pkgdir"/var/lib/redis/snapshots
|
||||||
|
Loading…
Reference in New Issue
Block a user