Constrain cron and anacron in Ubuntu also
This commit is contained in:
parent
a361fb454c
commit
3180d09ff4
9
Makefile
9
Makefile
@ -63,6 +63,15 @@ SYSTEM_DROPINS += tor.service tor@default.service
|
|||||||
|
|
||||||
USER_DROPINS := pulseaudio.service pulseaudio.socket
|
USER_DROPINS := pulseaudio.service pulseaudio.socket
|
||||||
|
|
||||||
|
# Ubuntu Dropins
|
||||||
|
ifeq ($(shell lsb_release -is), Ubuntu)
|
||||||
|
|
||||||
|
# 'crond.service' is named 'cron.service in Debian
|
||||||
|
SYSTEM_DROPINS := $(strip $(patsubst crond.service, cron.service, $(SYSTEM_DROPINS)))
|
||||||
|
SYSTEM_DROPINS += anacron.service
|
||||||
|
SYSTEM_DROPINS += anacron-resume.service
|
||||||
|
endif
|
||||||
|
|
||||||
# Debian Dropins
|
# Debian Dropins
|
||||||
ifeq ($(shell lsb_release -is), Debian)
|
ifeq ($(shell lsb_release -is), Debian)
|
||||||
# Don't have 'ntpd' in Debian
|
# Don't have 'ntpd' in Debian
|
||||||
|
Loading…
Reference in New Issue
Block a user