mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-07 13:35:21 +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>
28 lines
669 B
SYSTEMD
28 lines
669 B
SYSTEMD
[Unit]
|
|
Description=Virtualization storage daemon
|
|
Conflicts=libvirtd.service
|
|
Requires=virtstoraged.socket
|
|
Requires=virtstoraged-ro.socket
|
|
Requires=virtstoraged-admin.socket
|
|
After=network.target
|
|
After=dbus.service
|
|
After=iscsid.service
|
|
After=apparmor.service
|
|
After=local-fs.target
|
|
After=remote-fs.target
|
|
Documentation=man:libvirtd(8)
|
|
Documentation=https://libvirt.org
|
|
|
|
[Service]
|
|
Type=notify
|
|
EnvironmentFile=-@sysconfdir@/sysconfig/virtstoraged
|
|
ExecStart=@sbindir@/virtstoraged $VIRTSTORAGED_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=virtstoraged.socket
|
|
Also=virtstoraged-ro.socket
|
|
Also=virtstoraged-admin.socket
|