Mercurial > hg > soundsoftware-site
diff deploy/config/cron.hourly/40-export-git @ 1590:c18460da6620 dockerise
Numerous deployment updates
author | Chris Cannam |
---|---|
date | Thu, 17 Aug 2017 16:04:36 +0100 |
parents | d8949733849d |
children |
line wrap: on
line diff
--- a/deploy/config/cron.hourly/40-export-git Thu Aug 17 13:56:15 2017 +0100 +++ b/deploy/config/cron.hourly/40-export-git Thu Aug 17 16:04:36 2017 +0100 @@ -1,3 +1,6 @@ #!/bin/bash + logfile="/var/www/code/log/export-git.log" + sudo -u code sh -c "cd /tmp ; /var/www/code/extra/soundsoftware/export-git.sh production /var/hg /var/files/git-mirror >> $logfile 2>&1" +