mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-19 10:01:28 +00:00
Hypervisors are referred to by their user-facing name rather than the name of their libvirt driver, the monolithic daemon is explicitly referred to as legacy, and a consistent format is used throughout. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
30 lines
697 B
SYSTEMD
30 lines
697 B
SYSTEMD
[Unit]
|
|
Description=libvirt @name@ daemon
|
|
BindsTo=@service@.socket
|
|
Wants=@service@-ro.socket
|
|
Wants=@service@-admin.socket
|
|
After=@service@.socket
|
|
After=@service@-ro.socket
|
|
After=@service@-admin.socket
|
|
Conflicts=libvirtd.service
|
|
After=libvirtd.service
|
|
After=network.target
|
|
After=dbus.service
|
|
After=apparmor.service
|
|
Documentation=man:@service@(8)
|
|
Documentation=https://libvirt.org
|
|
|
|
[Service]
|
|
Type=notify
|
|
Environment=@SERVICE@_ARGS="--timeout 120"
|
|
EnvironmentFile=-@initconfdir@/@service@
|
|
ExecStart=@sbindir@/@service@ $@SERVICE@_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=@service@.socket
|
|
Also=@service@-ro.socket
|
|
Also=@service@-admin.socket
|