]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/debian-org/files/molly-guard/10-check-kvm
Only sync logs once per day since we are only transferring rotated logs
[dsa-puppet.git] / modules / debian-org / files / molly-guard / 10-check-kvm
1 #!/bin/sh
2
3 KVMCOUNT=`pgrep -cx '^(qemu-)?kvm$'`
4 if [ $KVMCOUNT != 0 ]; then
5         echo "Found $KVMCOUNT qemu-kvm instances running, aborting $MOLLYGUARD_CMD!"
6         exit 1
7 fi