* libvirtd: Remove the pid on startup. If it exists, libvirtd
tends to segfault. svn path=/nixos/trunk/; revision=26365
This commit is contained in:
parent
8add655028
commit
a19849914a
|
@ -61,6 +61,7 @@ in
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
mkdir -p /var/log/libvirt/qemu -m 755
|
mkdir -p /var/log/libvirt/qemu -m 755
|
||||||
|
rm -f /var/run/libvirtd.pid
|
||||||
'';
|
'';
|
||||||
|
|
||||||
exec = "${pkgs.libvirt}/sbin/libvirtd --daemon --verbose";
|
exec = "${pkgs.libvirt}/sbin/libvirtd --daemon --verbose";
|
||||||
|
|
Loading…
Reference in New Issue