mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 10:23:09 +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>
26 lines
645 B
SYSTEMD
26 lines
645 B
SYSTEMD
[Unit]
|
|
Description=Virtualization interface daemon
|
|
Conflicts=libvirtd.service
|
|
Requires=virtinterfaced.socket
|
|
Requires=virtinterfaced-ro.socket
|
|
Requires=virtinterfaced-admin.socket
|
|
After=network.target
|
|
After=dbus.service
|
|
After=apparmor.service
|
|
After=local-fs.target
|
|
Documentation=man:libvirtd(8)
|
|
Documentation=https://libvirt.org
|
|
|
|
[Service]
|
|
Type=notify
|
|
EnvironmentFile=-@sysconfdir@/sysconfig/virtinterfaced
|
|
ExecStart=@sbindir@/virtinterfaced $VIRTINTERFACED_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=virtinterfaced.socket
|
|
Also=virtinterfaced-ro.socket
|
|
Also=virtinterfaced-admin.socket
|