From 208ec0fb190de3a4a3df2f073be1d1797a386c6a Mon Sep 17 00:00:00 2001 From: Simon Paillard Date: Fri, 20 Sep 2013 22:24:14 +0200 Subject: PROGRAM variable: hostname already included elsewhere --- bin/ftpsync | 2 +- bin/runmirrors | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ftpsync b/bin/ftpsync index f85fd28..3ec25a8 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -246,7 +246,7 @@ LOG=${LOG:-"${LOGDIR}/${NAME}.log"} TO=${TO:-"/srv/mirrors/debian/"} # used by log() and error() -PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"} +PROGRAM=${PROGRAM:-"${NAME}"} # Where to send mails about mirroring to? if [ "x$(hostname -d)x" != "xdebian.orgx" ]; then diff --git a/bin/runmirrors b/bin/runmirrors index 53f97ff..93922b6 100755 --- a/bin/runmirrors +++ b/bin/runmirrors @@ -108,7 +108,7 @@ LOGROTATE=${LOGROTATE:-14} # Our mirrorfile MIRRORS=${MIRRORS:-"${BASEDIR}/etc/${NAME}.mirror"} # used by log() -PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"} +PROGRAM=${PROGRAM:-"${NAME}"} # extra ssh options we might want hostwide SSH_OPTS=${SSH_OPTS:-"-o StrictHostKeyChecking=no"} # Whats our archive name? We will also tell our leafs about it -- cgit v1.2.3