summaryrefslogtreecommitdiff
path: root/app-backup/backintime/files/backintime-1.5.4-crontab-systemd.patch
blob: 431758c93912277c7c73b7a98c79390912faf307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
In Gentoo, we rename crontab in sys-process/systemd-cron to crontab-systemd.
--- a/common/schedule.py
+++ b/common/schedule.py
@@ -33,7 +33,7 @@ def _determine_crontab_command() -> str:
     Raises:
         RuntimeError: If none of the supported commands available.
     """
-    to_check_commands = ['crontab', 'fcrontab']
+    to_check_commands = ['crontab', 'fcrontab', 'crontab-systemd']
     for cmd in to_check_commands:
         proc = subprocess.run(
             ['which', cmd],