Stop unnecessary services in Debian

This commit is contained in:
unman 2017-02-16 22:41:14 +00:00
parent 961455657d
commit 1ed2954f91
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
4 changed files with 10 additions and 0 deletions

View File

@ -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:

View File

@ -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

View File

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

View File

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