mirror of https://gitee.com/openkylin/libvirt.git
14 lines
332 B
SYSTEMD
14 lines
332 B
SYSTEMD
[Unit]
|
|
Description=Suspend Active Libvirt Guests
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/libvirt-guests
|
|
# Hack just call traditional service until we factor
|
|
# out the code
|
|
ExecStart=/etc/init.d/libvirt-guests start
|
|
ExecStop=/etc/init.d/libvirt-guests stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|