mirror of https://gitee.com/openkylin/libvirt.git
17 lines
396 B
SYSTEMD
17 lines
396 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
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
StandardOutput=journal+console
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|