To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / deploy / config / run-external.sh.in @ 1603:455ca6e45c49
History | View | Annotate | Download (459 Bytes)
| 1 |
#!/bin/bash |
|---|---|
| 2 |
logfile=/var/log/external-repos.log |
| 3 |
( |
| 4 |
flock -s 200 |
| 5 |
echo >> $logfile |
| 6 |
date >> $logfile |
| 7 |
/var/www/code/reposman/convert-external-repos.rb \ |
| 8 |
-s /var/hg \ |
| 9 |
-r INSERT_API_SCHEME_HERE://INSERT_API_HOST_HERE/ \ |
| 10 |
-k INSERT_API_KEY_HERE \ |
| 11 |
-v \ |
| 12 |
--http-user=INSERT_API_USER_HERE \ |
| 13 |
--http-pass=INSERT_API_PASSWORD_HERE \ |
| 14 |
-c "/var/www/code/reposman/update-external-repo.sh" \ |
| 15 |
>> $logfile 2>&1 |
| 16 |
date >> $logfile |
| 17 |
echo Done >> $logfile |
| 18 |
)200>>$logfile |