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