From 0cf96e875ea12ab757246226ec72f718c4d38ab0 Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Fri, 5 Jun 2009 18:47:12 +0000 Subject: [PATCH] Rsync auth logs to ~/ in the slice --- exec/rsyncauthlogs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 exec/rsyncauthlogs 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 -- 2.43.0