2011-07-07 13:45:07 +00:00
|
|
|
[Unit]
|
2016-09-05 16:59:58 +00:00
|
|
|
Description=Suspend/Resume Running libvirt Guests
|
2016-10-14 07:13:48 +00:00
|
|
|
Requires=virt-guest-shutdown.target
|
2016-09-05 17:04:30 +00:00
|
|
|
After=network.target
|
|
|
|
After=time-sync.target
|
2022-02-14 11:37:37 +00:00
|
|
|
After=libvirtd.socket
|
|
|
|
After=virtqemud.socket
|
|
|
|
After=virtlxcd.socket
|
|
|
|
After=virtvboxd.socket
|
|
|
|
After=virtvzd.socket
|
|
|
|
After=virtxend.socket
|
2016-09-05 17:04:30 +00:00
|
|
|
After=libvirtd.service
|
2022-02-14 11:37:37 +00:00
|
|
|
After=virtqemud.service
|
|
|
|
After=virtlxcd.service
|
|
|
|
After=virtvboxd.service
|
|
|
|
After=virtvzd.service
|
|
|
|
After=virtxend.service
|
2016-10-14 07:13:48 +00:00
|
|
|
After=virt-guest-shutdown.target
|
2022-01-07 21:35:10 +00:00
|
|
|
Documentation=man:libvirt-guests(8)
|
2017-10-13 15:30:41 +00:00
|
|
|
Documentation=https://libvirt.org
|
2011-07-07 13:45:07 +00:00
|
|
|
|
|
|
|
[Service]
|
2019-07-18 15:17:07 +00:00
|
|
|
EnvironmentFile=-@sysconfdir@/sysconfig/libvirt-guests
|
2011-07-07 13:45:07 +00:00
|
|
|
# Hack just call traditional service until we factor
|
|
|
|
# out the code
|
2012-10-21 02:29:51 +00:00
|
|
|
ExecStart=@libexecdir@/libvirt-guests.sh start
|
|
|
|
ExecStop=@libexecdir@/libvirt-guests.sh stop
|
2012-07-27 15:01:04 +00:00
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2012-08-21 15:03:40 +00:00
|
|
|
StandardOutput=journal+console
|
2015-11-17 07:39:46 +00:00
|
|
|
TimeoutStopSec=0
|
2011-07-07 13:45:07 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|