Chris@1590: #!/bin/bash Chris@1590: logfile=/var/log/reposman.log Chris@1590: ( Chris@1590: flock -s 200 Chris@1590: echo >> $logfile Chris@1590: /var/www/code/reposman/reposman-soundsoftware.rb \ Chris@1590: -s /var/hg \ Chris@1593: -r INSERT_API_SCHEME_HERE://INSERT_API_HOST_HERE/ \ Chris@1590: -k INSERT_API_KEY_HERE \ Chris@1593: --http-user=INSERT_API_USER_HERE \ Chris@1593: --http-pass=INSERT_API_PASSWORD_HERE \ Chris@1590: -o www-data \ Chris@1590: -g code \ Chris@1590: -c "/var/www/code/reposman/run-hginit.sh" \ Chris@1590: --scm=Mercurial \ Chris@1590: >> $logfile 2>&1 Chris@1590: )200>>$logfile