view deploy/config/run-reposman.sh.in @ 1622:f3144e23ca1d live

Don't try to use cgitb, it just causes problems with Apache CGI interface
author Chris Cannam
date Fri, 10 Aug 2018 11:22:30 +0100
parents 83412a0a2389
children
line wrap: on
line source
#!/bin/bash
logfile=/var/log/reposman.log
( 
flock -s 200 
echo >> $logfile
/var/www/code/reposman/reposman-soundsoftware.rb \
	-s /var/hg \
	-r INSERT_API_SCHEME_HERE://INSERT_API_HOST_HERE/ \
	-k INSERT_API_KEY_HERE \
	--http-user=INSERT_API_USER_HERE \
	--http-pass=INSERT_API_PASSWORD_HERE \
	-o www-data \
	-g code \
	-c "/var/www/code/reposman/run-hginit.sh" \
	--scm=Mercurial \
	>> $logfile 2>&1
)200>>$logfile