Merge remote-tracking branch 'qubesos/pr/40'

* qubesos/pr/40:
  Stop unnecessary services in Debian
This commit is contained in:
Marek Marczykowski-Górecki 2017-02-20 23:27:07 +01:00
commit cf97f4f8e7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
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