From 37b02ec1aad1365f61fe14053e6527b63d2b236c Mon Sep 17 00:00:00 2001 From: Nelson Araujo Date: Sat, 6 Aug 2016 11:27:47 -0700 Subject: [PATCH] Allows systemd to track libvirtd without forking. --- manifests/params.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 9d98aa9..968583b 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -22,7 +22,10 @@ $virtinst_package = 'virtinst' $radvd_package = 'radvd' $sysconfig = false - $deb_default = {} + $deb_default = $::service_provider ? { + 'systemd' => { 'libvirtd_opts' => '' }, # no '-d', it confuses systemd + default => {}, + } # UNIX socket $auth_unix_ro = 'none' $unix_sock_rw_perms = '0770'