Stop unnecessary services in Debian
This commit is contained in:
parent
961455657d
commit
1ed2954f91
2
Makefile
2
Makefile
@ -89,6 +89,8 @@ ifeq ($(shell lsb_release -is), Debian)
|
||||
|
||||
SYSTEM_DROPINS += anacron.service
|
||||
SYSTEM_DROPINS += anacron-resume.service
|
||||
SYSTEM_DROPINS += exim4.service
|
||||
SYSTEM_DROPINS += avahi-daemon.service
|
||||
endif
|
||||
|
||||
install-systemd-dropins:
|
||||
|
4
debian/qubes-core-agent.postinst
vendored
4
debian/qubes-core-agent.postinst
vendored
@ -124,6 +124,10 @@ case "${1}" in
|
||||
done
|
||||
dpkg-divert --divert /etc/init/serial.conf.qubes-orig --package qubes-core-agent --rename --add /etc/init/serial.conf
|
||||
|
||||
if [ ! -L /etc/systemd/system/rpcbind.service ]; then
|
||||
ln -s /dev/null /etc/systemd/system/rpcbind.service
|
||||
fi
|
||||
|
||||
# Remove old firmware updates link
|
||||
if [ -L /lib/firmware/updates ]; then
|
||||
rm -f /lib/firmware/updates
|
||||
|
2
vm-systemd/avahi-daemon.service.d/30_qubes.conf
Normal file
2
vm-systemd/avahi-daemon.service.d/30_qubes.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
ConditionPathExists=/var/run/qubes-service/avahi
|
2
vm-systemd/exim4.service.d/30_qubes.conf
Normal file
2
vm-systemd/exim4.service.d/30_qubes.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
ConditionPathExists=/var/run/qubes-service/exim4
|
Loading…
Reference in New Issue
Block a user