Skip to content

Commit

Permalink
Stop unnecessary services in Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
unman committed Feb 16, 2017
1 parent 9614556 commit 1ed2954
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions debian/qubes-core-agent.postinst
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions vm-systemd/avahi-daemon.service.d/30_qubes.conf
@@ -0,0 +1,2 @@
[Unit]
ConditionPathExists=/var/run/qubes-service/avahi
2 changes: 2 additions & 0 deletions vm-systemd/exim4.service.d/30_qubes.conf
@@ -0,0 +1,2 @@
[Unit]
ConditionPathExists=/var/run/qubes-service/exim4

0 comments on commit 1ed2954

Please sign in to comment.