X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=libvirt-guests.init;fp=libvirt-guests.init;h=e30f4492d5f852cfe33ed21ea01960bc7ed3912d;hb=77fa38b0152ac1eb78b8ef467bc4eb8bf1fc6875;hp=0000000000000000000000000000000000000000;hpb=7470b860cfb9847023a18a90d640e4ed229e6310;p=packages%2Flibvirt.git diff --git a/libvirt-guests.init b/libvirt-guests.init new file mode 100755 index 0000000..e30f449 --- /dev/null +++ b/libvirt-guests.init @@ -0,0 +1,14 @@ +#!/bin/sh + +# 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 /usr/lib64/libvirt-guests.sh "$@" + +# next line is here for "service --status-all" to work +# status)