Skip to content

Commit

Permalink
Use libvirtd service in Ubuntu
Browse files Browse the repository at this point in the history
Starting with Ubuntu 16.10, libvirtd is available, so use it
to keep the same standard across all distributions.

Signed-off-by: Lucio Correia <luciojhc@linux.vnet.ibm.com>
  • Loading branch information
Lucio Correia authored and alinefm committed Dec 14, 2016
1 parent 1b2b854 commit 86e75b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -161,7 +161,7 @@ install-data-local:
@if test -d "$(systemdsystemunitdir)" ; then \
mkdir -p $(DESTDIR)/etc/systemd/system/wokd.service.d; \
if test -f /etc/debian_version; then \
$(INSTALL_DATA) contrib/kimchid.service.ubuntu $(DESTDIR)/etc/systemd/system/wokd.service.d/kimchi.conf; \
$(INSTALL_DATA) contrib/kimchid.service.debian $(DESTDIR)/etc/systemd/system/wokd.service.d/kimchi.conf; \
else \
$(INSTALL_DATA) contrib/kimchid.service.fedora $(DESTDIR)/etc/systemd/system/wokd.service.d/kimchi.conf; \
fi; \
Expand Down
8 changes: 8 additions & 0 deletions contrib/kimchid.service.debian
@@ -0,0 +1,8 @@
[Unit]
Requires=wokd.service
Wants=libvirtd.service
After=libvirtd.service wokd.service

[Service]
Nice=0
PrivateTmp=no
8 changes: 0 additions & 8 deletions contrib/kimchid.service.ubuntu

This file was deleted.

0 comments on commit 86e75b0

Please sign in to comment.