2011-07-07 21:45:07 +08:00
|
|
|
[Unit]
|
|
|
|
Description=Suspend Active Libvirt Guests
|
2013-11-20 04:19:25 +08:00
|
|
|
After=network.target libvirtd.service
|
2014-01-09 02:55:19 +08:00
|
|
|
Documentation=man:libvirtd(8)
|
|
|
|
Documentation=http://libvirt.org
|
2011-07-07 21:45:07 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/libvirt-guests
|
|
|
|
# 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
|
2011-07-07 21:45:07 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|