#!/bin/sh # [1] Send logs + update configuration php /home/sats/satsd/source/network/send_log; # [2] Update source BRANCH=$(cat /home/sats/satsd/conf/branch); cd /home/sats/satsd/source/; git checkout $BRANCH; git pull origin $BRANCH;