fi
fi
+# check upstart for lxcf and lxcf-sched service
+if [ -x /sbin/initctl ] ; then
+ initctl status lxcf-sched |& grep "start/running" >& /dev/null
+ if [ $? -ne 0 ] ; then
+ initctl start lxcf-init >& /dev/null
+ initctl start lxcf-sched >& /dev/null
+ initctl restart libvirt-bin >& /dev/null
+ /etc/init.d/libvirt-bin restart >& /dev/null
+ fi
+fi
+
+
# check on repetition execution
if [ -f /etc/lxcf/container_name ] ; then
echo "The lxcf command is executed in the LXCF container."