From: Faiyaz Ahmed Date: Fri, 5 Jun 2009 18:47:12 +0000 (+0000) Subject: Rsync auth logs to ~/ in the slice X-Git-Tag: vsys-scripts-0.95-3~2 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=0cf96e875ea12ab757246226ec72f718c4d38ab0 Rsync auth logs to ~/ in the slice --- 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