#!/bin/sh
. get_root
WHAT="rsync"
STOP_TIME=2
GO_TIME=2
while true; do
	killall -STOP `pidof $WHAT`
	sleep "$STOP_TIME"
	killall -CONT `pidof $WHAT`
	sleep "$GO_TIME"
done
