Stop anacron from starting in Debian using existing constraint on cron
This commit is contained in:
parent
fb8c356216
commit
a361fb454c
3
Makefile
3
Makefile
@ -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:
|
||||||
|
8
patches.debian/01_add_anacron.patch
Normal file
8
patches.debian/01_add_anacron.patch
Normal 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' )
|
||||||
|
|
@ -1 +1 @@
|
|||||||
patches.debian/qrexec_disable_all_warnings_as_errors.patch
|
patches.debian/01_add_anacron.patch
|
||||||
|
3
vm-systemd/anacron-resume.service.d/30_qubes.conf
Normal file
3
vm-systemd/anacron-resume.service.d/30_qubes.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Unit]
|
||||||
|
ConditionPathExists=/var/run/qubes-service/crond
|
||||||
|
|
3
vm-systemd/anacron.service.d/30_qubes.conf
Normal file
3
vm-systemd/anacron.service.d/30_qubes.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Unit]
|
||||||
|
ConditionPathExists=/var/run/qubes-service/crond
|
||||||
|
|
Loading…
Reference in New Issue
Block a user