rsync auth logs to ~/
[vsys-scripts.git] / exec / rsyncauthlogs
diff --git a/exec/rsyncauthlogs b/exec/rsyncauthlogs
new file mode 100755 (executable)
index 0000000..4914501
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+DEST="/vservers/$1/home/$1/"
+
+/usr/bin/rsync -a /var/log/secure* $DEST