libvirtd.service.in 730 字节
Newer Older
1 2 3 4 5 6 7 8
# 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
Before=libvirt-guests.service
9
After=network.target
E
Eric Blake 已提交
10
After=dbus.service
11
After=iscsid.service
12 13
Documentation=man:libvirtd(8)
Documentation=http://libvirt.org
14 15 16 17 18

[Service]
EnvironmentFile=-/etc/sysconfig/libvirtd
ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
19
KillMode=process
20
Restart=on-failure
21 22
# Override the maximum number of opened files
#LimitNOFILE=2048
23 24 25

[Install]
WantedBy=multi-user.target