Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (5 sloc) 202 Bytes
#!/bin/bash
SERVER=$1
PORT=${PORT:-5100}
echo "Connecting to server $SERVER, republishing on port $PORT"
ssh devsuprt@$SERVER "nice tail -f /apache2/logs/guardian-access_log" | ./publisher.rb $PORT