From 8222f4bf3f193a90682095f3c70911e8d020736d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Charaoui?= <jerome@riseup.net>
Date: Fri, 10 Feb 2023 13:53:31 -0500
Subject: [PATCH] add README.Debian with cronjob diversion trick

---
 debian/README.Debian | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 debian/README.Debian

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..5b7db01
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,13 @@
+Backupninja in Debian
+=====================
+
+1. Scheduling
+-------------
+
+This package installs a cron job which executes backupninja every hour, on the
+hour. To disable this package-managed cron job, a dpkg diversion may be used:
+
+    dpkg-divert --add --rename --divert /etc/cron.d/backupninja.disabled /etc/cron.d/backupninja
+
+With this diversion in place, upgrading or reinstalling the package will not
+re-enable the default cron job.
-- 
GitLab