Mercurial Hosting > hghosting
view start.sh @ 7:46f6b69e8b10
better handling of missing mail_info
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 03 Jun 2022 09:57:45 -0600 |
parents | dfc36e7ed22c |
children | a90e510ccc4f |
line wrap: on
line source
#!/bin/bash -e . common.sh; /usr/local/bin/hg serve -d -A ${hgaccesslog} -p 8090 -a 127.0.0.1 -t ${templatesdir} --pid-file ${hgservepid} --encoding utf8 --webdir-conf ${webconfig}; sudo /usr/local/bin/nginx -c ${nginxonfig}; if [ "$1" == "launchd" ]; then ${ROOTPWD}/luan.sh serve.luan $* &2>${servelog} else ${ROOTPWD}/luan.sh serve.luan $* &2>${servelog}& fi;