[sysadmin-bin] signal-ftp-sync: put private key in different location



commit 6a1f7d6bd8cad68870e514cc73a2d76c7f84fd06
Author: Olav Vitters <olav vitters nl>
Date:   Tue Mar 8 19:45:40 2011 +0100

    signal-ftp-sync: put private key in different location

 signal-ftp-sync |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/signal-ftp-sync b/signal-ftp-sync
index 7033d02..5f3a06d 100755
--- a/signal-ftp-sync
+++ b/signal-ftp-sync
@@ -3,7 +3,7 @@
 # mirror the archive.
 
 if [ "`whoami`" != gnomeftp ] ; then
-    cd / && exec sudo -n -u gnomeftp /usr/local/bin/signal-ftp-sync "$@"
+    cd / && exec sudo -n -u gnomeftp -i /home/admin/secret/gnomeftp/id_rsa /usr/local/bin/signal-ftp-sync "$@"
 fi
 
 signal () {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]