libvirt/tools/libvirt-guests.service.in

23 lines
550 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Suspend/Resume Running libvirt Guests
Requires=libvirtd.service
After=network.target
After=time-sync.target
After=libvirtd.service
Documentation=man:libvirtd(8)
Documentation=http://libvirt.org
[Service]
EnvironmentFile=-/etc/sysconfig/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