#!/bin/bash
cwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$cwd/settings.sh"


#Test the installer.
$cwd/./test_install.sh 

#Test imaging.
#$cwd/./test_imaging.sh


rsync -r /var/www/html fogtesting:/var/www


#!/bin/bash
cwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$cwd/settings.sh"


#Test the installer.
$cwd/./test_install.sh 

#Test imaging.
#$cwd/./test_imaging.sh


/usr/bin/rsync -r /var/www/html fogtesting:/var/www
ssh -o ConnectTimeout=$sshTimeout fogtesting "systemctl restart apache2 > /dev/null 2>&1"



Use full path of rsync just to be sure
Use full path of rsync just to be sure
