mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
85f5871186
We recently unified all services and sockets, except a couple were missed. Finish the job. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
29 lines
710 B
SYSTEMD
29 lines
710 B
SYSTEMD
[Unit]
|
|
Description=libvirt guests suspend/resume service
|
|
Documentation=man:libvirt-guests(8)
|
|
Documentation=https://libvirt.org/
|
|
Requires=virt-guest-shutdown.target
|
|
After=network.target
|
|
After=time-sync.target
|
|
After=libvirtd.socket
|
|
After=virtqemud.socket
|
|
After=virtlxcd.socket
|
|
After=virtvboxd.socket
|
|
After=virtvzd.socket
|
|
After=virtxend.socket
|
|
After=virt-guest-shutdown.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-@initconfdir@/libvirt-guests
|
|
# Hack just call traditional service until we factor
|
|
# out the code
|
|
ExecStart=@libexecdir@/libvirt-guests.sh start
|
|
ExecStop=@libexecdir@/libvirt-guests.sh stop
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
StandardOutput=journal+console
|
|
TimeoutStopSec=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|