2011-07-07 13:45:07 +00:00
|
|
|
# NB we don't use socket activation. When libvirtd starts it will
|
|
|
|
# spawn any virtual machines registered for autostart. We want this
|
|
|
|
# to occur on every boot, regardless of whether any client connects
|
|
|
|
# to a socket. Thus socket activation doesn't have any benefit
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Virtualization daemon
|
|
|
|
After=syslog.target
|
|
|
|
After=udev.target
|
|
|
|
After=avahi.target
|
|
|
|
After=dbus.target
|
|
|
|
Before=libvirt-guests.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/libvirtd
|
|
|
|
ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2012-01-12 17:47:30 +00:00
|
|
|
# Override the maximum number of opened files
|
|
|
|
#LimitNOFILE=2048
|
2011-07-07 13:45:07 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|