mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
31 lines
754 B
SYSTEMD
31 lines
754 B
SYSTEMD
[Unit]
|
|
Description=Virtualization network daemon
|
|
Conflicts=libvirtd.service
|
|
Requires=virtnetworkd.socket
|
|
Requires=virtnetworkd-ro.socket
|
|
Requires=virtnetworkd-admin.socket
|
|
After=network.target
|
|
After=firewalld.service
|
|
After=iptables.service
|
|
After=ip6tables.service
|
|
After=dbus.service
|
|
After=apparmor.service
|
|
After=local-fs.target
|
|
Documentation=man:virtnetworkd(8)
|
|
Documentation=https://libvirt.org
|
|
|
|
[Service]
|
|
Type=notify
|
|
Environment=VIRTNETWORKD_ARGS="--timeout 120"
|
|
EnvironmentFile=-@initconfdir@/virtnetworkd
|
|
ExecStart=@sbindir@/virtnetworkd $VIRTNETWORKD_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=virtnetworkd.socket
|
|
Also=virtnetworkd-ro.socket
|
|
Also=virtnetworkd-admin.socket
|