Red Hat Bugzilla – Bug 718602
Provide native systemd unit file
Last modified: 2011-12-01 18:49:28 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 511091 [details]
Native systemd service file for libvirtd
Note that libvirt-guest sys legacy script requires some work to work with systemd
You probably need to put the start/stop section from it into a script then call it from the unit file as in something like..
Description=Suspend Active Libvirt Guests
Posted a patch upstream
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Now upstream, for 0.9.8.
Author: Daniel P. Berrange <email@example.com>
AuthorDate: Thu Jul 7 14:45:07 2011 +0100
Commit: Daniel P. Berrange <firstname.lastname@example.org>
CommitDate: Fri Nov 18 16:16:02 2011 +0000
Add support for systemd init service
This patch adds support for a systemd init service for libvirtd
and libvirt-guests. The libvirtd.service is *not* written to use
socket activation, since we want libvirtd to start on boot so it
can do guest auto-start.
The libvirt-guests.service is pretty lame, just exec'ing the
original init script for now. Ideally we would factor out the
functionality, into some shared tool.