]> git.pld-linux.org Git - packages/mdadm.git/commitdiff
BR: dlm-devel
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 10 Mar 2017 13:02:24 +0000 (14:02 +0100)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 10 Mar 2017 13:02:24 +0000 (14:02 +0100)
cronjob-mdadm.service [new file with mode: 0644]
cronjob-mdadm.timer [new file with mode: 0644]
mdadm.spec

diff --git a/cronjob-mdadm.service b/cronjob-mdadm.service
new file mode 100644 (file)
index 0000000..a046894
--- /dev/null
@@ -0,0 +1,5 @@
+[Unit]
+Description=mdadm-checkarray cronjob
+
+[Service]
+ExecStart=/sbin/mdadm-checkarray --cron --all --quiet
diff --git a/cronjob-mdadm.timer b/cronjob-mdadm.timer
new file mode 100644 (file)
index 0000000..21ed577
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=mdadm-checkarray cronjob timer
+
+[Timer]
+OnCalendar=Sun *-*-1,2,3,4,5,6 00:57:00
+
+[Install]
+WantedBy=cronjobs.target
+
+# vi: ft=systemd
index 19d64ad535a2261fe9e5749de1914ce9e7db23ca..c4b6d9ad18fbbc13f41be02df4abbc24181cd3a3 100644 (file)
@@ -19,6 +19,7 @@ Source3:      %{name}.cron
 Source4:       %{name}-checkarray
 Source5:       %{name}.service
 URL:           https://www.kernel.org/pub/linux/utils/raid/mdadm/
+BuildRequires: dlm-devel
 BuildRequires: groff
 BuildRequires: rpmbuild(macros) >= 1.213
 %if %{with initrd}
This page took 0.111717 seconds and 4 git commands to generate.