summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2019-09-20 14:15:21 -0700
committerDonald Webster2019-09-20 14:15:21 -0700
commit79a5abb6ef9c6aa0fa31cade04eb1248be4d8a24 (patch)
tree6ec6383f633a42a800d968a57c06db61d9067920
parentd299391dbf3b0cdef4c2579ced4ac0618e8ded47 (diff)
downloadaur-79a5abb6ef9c6aa0fa31cade04eb1248be4d8a24.tar.gz
Run every 15 minutes due to frequently snapshots.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--sanoid.timer5
3 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ca2c2f3a5f6..2cb576b8a74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sanoid
pkgdesc = A policy-driven snapshot management tool for ZFS filesystems.
pkgver = 2.0.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jimsalterjrs/sanoid
arch = any
license = GPL
@@ -19,7 +19,7 @@ pkgbase = sanoid
source = sanoid.timer
sha256sums = 8937f1b3ef984e1b4d09603b005dcbf6a0315efd65d001aacbeaf56b67558605
sha256sums = a1f53363c2814a797ed4b19533b31db87e36bf9ffd41487c036570e80f498f76
- sha256sums = de506f8deab9cf9920a5efd598bf4bf4806bc6dd24756b1380705f293171da17
+ sha256sums = 73f17479b9fa5ee69e959f390945b3d4f56e615227ccb9770ad10eac05141f1c
pkgname = sanoid
diff --git a/PKGBUILD b/PKGBUILD
index b9bc53ba78b..66679ab865c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sanoid
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="A policy-driven snapshot management tool for ZFS filesystems."
arch=('any')
url='https://github.com/jimsalterjrs/sanoid'
@@ -22,7 +22,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/jimsalterjrs/sanoid/archive
sha256sums=('8937f1b3ef984e1b4d09603b005dcbf6a0315efd65d001aacbeaf56b67558605'
'a1f53363c2814a797ed4b19533b31db87e36bf9ffd41487c036570e80f498f76'
- 'de506f8deab9cf9920a5efd598bf4bf4806bc6dd24756b1380705f293171da17')
+ '73f17479b9fa5ee69e959f390945b3d4f56e615227ccb9770ad10eac05141f1c')
package() {
cd "${pkgname}-${pkgver}"
diff --git a/sanoid.timer b/sanoid.timer
index 7cfb6ea381d..a41239df111 100644
--- a/sanoid.timer
+++ b/sanoid.timer
@@ -3,7 +3,10 @@ Description=Sanoid timer
[Timer]
OnBootSec=0min
-OnCalendar=minutely
+# Every minute, watch out for "frequently" snapshots.
+#OnCalendar=minutely
+# Every 15 minutes, more sane w/ "frequently" snapshots.
+OnCalendar=*:0/15
[Install]
WantedBy=timers.target