X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=exec%2Frsyncauthlogs;fp=exec%2Frsyncauthlogs;h=491450157b3a8261aad0f8c1a594aef4be72be93;hb=c575509c5f1eaf05f84da3d12496e1c4ccf917e6;hp=0000000000000000000000000000000000000000;hpb=4270ce85491a2fbbe1a97564ca95cf659bd6cb31;p=vsys-scripts.git diff --git a/exec/rsyncauthlogs b/exec/rsyncauthlogs new file mode 100755 index 0000000..4914501 --- /dev/null +++ b/exec/rsyncauthlogs @@ -0,0 +1,5 @@ +#!/bin/sh + +DEST="/vservers/$1/home/$1/" + +/usr/bin/rsync -a /var/log/secure* $DEST