libvirt/tools/libvirt-guests.init.in

31 lines
941 B
Bash

#!/bin/sh
# the following is the LSB init header see
# http://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
#
### BEGIN INIT INFO
# Provides: libvirt-guests
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Required-Start: libvirtd
# Required-Stop: libvirtd
# Should-Start:
# Should-Stop:
# Short-Description: suspend/resume libvirt guests on shutdown/boot
# Description: This is a script for suspending active libvirt guests
# on shutdown and resuming them on next boot
# See https://libvirt.org
### END INIT INFO
# the following is chkconfig init header
#
# libvirt-guests: suspend/resume libvirt guests on shutdown/boot
#
# chkconfig: 345 99 01
# description: This is a script for suspending active libvirt guests \
# on shutdown and resuming them on next boot \
# See https://libvirt.org
#
exec @libexecdir@/libvirt-guests.sh "$@"