mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 18:33:11 +00:00
ef0fa8395f
This follows the example set by libvirtd, and makes it easier for the admin to tweak the timeout or disable it altogether. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
31 lines
722 B
SYSTEMD
31 lines
722 B
SYSTEMD
[Unit]
|
|
Description=Virtualization xen daemon
|
|
Conflicts=libvirtd.service
|
|
Requires=virtxend.socket
|
|
Requires=virtxend-ro.socket
|
|
Requires=virtxend-admin.socket
|
|
After=network.target
|
|
After=dbus.service
|
|
After=apparmor.service
|
|
After=local-fs.target
|
|
After=remote-fs.target
|
|
After=xencommons.service
|
|
Conflicts=xendomains.service
|
|
Documentation=man:libvirtd(8)
|
|
Documentation=https://libvirt.org
|
|
ConditionPathExists=/proc/xen/capabilities
|
|
|
|
[Service]
|
|
Type=notify
|
|
EnvironmentFile=-@sysconfdir@/sysconfig/virtxend
|
|
ExecStart=@sbindir@/virtxend $VIRTXEND_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=virtxend.socket
|
|
Also=virtxend-ro.socket
|
|
Also=virtxend-admin.socket
|