Stop anacron from starting in Debian using existing constraint on cron

This commit is contained in:
unman 2017-02-05 23:36:27 +00:00
parent fb8c356216
commit a361fb454c
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
5 changed files with 18 additions and 1 deletions

View File

@ -77,6 +77,9 @@ ifeq ($(shell lsb_release -is), Debian)
# handled by qubes-iptables service now # handled by qubes-iptables service now
SYSTEM_DROPINS += netfilter-persistent.service SYSTEM_DROPINS += netfilter-persistent.service
SYSTEM_DROPINS += anacron.service
SYSTEM_DROPINS += anacron-resume.service
endif endif
install-systemd-dropins: install-systemd-dropins:

View File

@ -0,0 +1,8 @@
Index: core-agent-linux/misc/30_cron.conf
===================================================================
--- core-agent-linux.orig/misc/30_cron.conf 2017-01-06 22:47:57.855061937 +0000
+++ core-agent-linux/misc/30_cron.conf 2017-01-07 01:31:16.382061937 +0000
@@ -1 +1,2 @@
binds+=( '/var/spool/cron' )
+binds+=( '/var/spool/anacron' )

View File

@ -1 +1 @@
patches.debian/qrexec_disable_all_warnings_as_errors.patch patches.debian/01_add_anacron.patch

View File

@ -0,0 +1,3 @@
[Unit]
ConditionPathExists=/var/run/qubes-service/crond

View File

@ -0,0 +1,3 @@
[Unit]
ConditionPathExists=/var/run/qubes-service/crond