diff options
author | Joerg Jaspert <joerg@debian.org> | 2010-10-10 22:42:21 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2010-10-10 22:42:21 +0200 |
commit | 54942d8cb4aebf7acdfcb60a4edd23f674393ddb (patch) | |
tree | 6daa04504c86a94b12b4e853b5f667592ac0ab8b /etc | |
parent | d6ddf759af1a6c6d79b755ce5570fab29ef23080 (diff) |
ftpsync now closes stdin, not attaches to dev/null
and pushes use ssh -f, not ssh ... &
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/common | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ signal () { # Default normal "fire and forget" push. We background that, we do not care about the mirrors doings echo "Sending normal push" >> "${LOGDIR}/${MIRROR}.log" PUSHARGS1="sync:all" - ssh $SSH_OPTIONS "${HOSTNAME}" "${PUSHARGS} ${PUSHARGS1}" >>"${LOGDIR}/${MIRROR}.log" 2>&1 & + ssh -f $SSH_OPTIONS "${HOSTNAME}" "${PUSHARGS} ${PUSHARGS1}" >>"${LOGDIR}/${MIRROR}.log" elif [ "xstagedx" = "x${PUSHTYPE}x" ] || [ "xmhopx" = "x${PUSHTYPE}x" ]; then # Want a staged push. Fine, lets do that. Not backgrounded. We care about the mirrors doings. echo "Sending staged push" >> "${LOGDIR}/${MIRROR}.log" |