Skip to content

Commit c5a2637

Browse files
nelsonjrpetems
authored andcommitted
Allows systemd to track libvirtd without forking.
1 parent 77d98af commit c5a2637

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

manifests/params.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
$sysconfig = false
2727
$defaults_file = '/etc/default/libvirt-bin'
2828
$defaults_template = "${module_name}/default/libvirt-bin.erb"
29-
$deb_default = {}
29+
$deb_default = $::service_provider ? {
30+
'systemd' => { 'libvirtd_opts' => '' }, # no '-d', it confuses systemd
31+
default => {},
32+
}
3033
# UNIX socket
3134
$auth_unix_ro = 'none'
3235
$unix_sock_rw_perms = '0770'

0 commit comments

Comments
 (0)