summaryrefslogtreecommitdiffstats
path: root/genome-autostarter/repo/genome-autostarter
diff options
context:
space:
mode:
Diffstat (limited to 'genome-autostarter/repo/genome-autostarter')
-rw-r--r--genome-autostarter/repo/genome-autostarter2
1 files changed, 2 insertions, 0 deletions
diff --git a/genome-autostarter/repo/genome-autostarter b/genome-autostarter/repo/genome-autostarter
new file mode 100644
index 0000000..e5147ce
--- /dev/null
+++ b/genome-autostarter/repo/genome-autostarter
@@ -0,0 +1,2 @@
+# Runs every minute and makes sure all the auto started vms are running
+* * * * * root find /etc/xen/auto -name "*" -type l | xargs -n1 basename 2> /dev/null | xargs -n1 virsh start &> /dev/null