X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=72b3e58ff1ee4badd1bb3bfa14819b432eab8647;hp=2c2b7a5be7589c0ad380345722843dd384883b02;hb=4594b30617c2759dc38a51a1ea23a336abbeb24a;hpb=2ee78e49dd604c6269463fd0431bb7bf361a170a diff --git a/Makefile b/Makefile index 2c2b7a5be..72b3e58ff 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,8 @@ QUEUED_USER=fs_queue FREESIDE_PATH = `pwd` SELFSERVICE_USER = fs_selfservice -SELFSERVICE_MACHINE = localhost +SELFSERVICE_MACHINES = localhost +# SELFSERVICE_MACHINES = web1.example.com web2.example.com #--- @@ -137,7 +138,7 @@ install-init: s/%%%QUEUED_USER%%%/${QUEUED_USER}/g;\ s'%%%FREESIDE_PATH%%%'${FREESIDE_PATH}'g;\ s/%%%SELFSERVICE_USER%%%/${SELFSERVICE_USER}/g;\ - s/%%%SELFSERVICE_MACHINE%%%/${SELFSERVICE_MACHINE}/g;\ + s/%%%SELFSERVICE_MACHINES%%%/${SELFSERVICE_MACHINES}/g;\ " ${INIT_FILE} install: install-perl-modules install-docs install-init @@ -151,8 +152,7 @@ create-database: create-config: install-perl-modules [ -e ${FREESIDE_CONF} ] && mv ${FREESIDE_CONF} ${FREESIDE_CONF}.`date +%Y%m%d%H%M%S` || true - mkdir ${FREESIDE_CONF} - chown freeside ${FREESIDE_CONF} + install -d -o freeside ${FREESIDE_CONF} touch ${FREESIDE_CONF}/secrets chown freeside ${FREESIDE_CONF}/secrets @@ -185,8 +185,8 @@ clean: #these are probably only useful if you're me... upload-docs: forcehtmlman - ssh cleanwhisker.420.am rm -rf /var/www/www.sisd.com/freeside/devdocs - scp -pr httemplate/docs cleanwhisker.420.am:/var/www/www.sisd.com/freeside/devdocs + ssh pouncequick.420.am rm -rf /var/www/www.sisd.com/freeside/devdocs + scp -pr httemplate/docs pouncequick.420.am:/var/www/www.sisd.com/freeside/devdocs release: upload-docs cd /home/ivan/freeside @@ -197,7 +197,7 @@ release: upload-docs cvs export -r ${TAG} -d freeside-${VERSION} freeside tar czvf freeside-${VERSION}.tar.gz freeside-${VERSION} - scp freeside-${VERSION}.tar.gz ivan@cleanwhisker.420.am:/var/www/sisd.420.am/freeside/ + scp freeside-${VERSION}.tar.gz ivan@pouncequick.420.am:/var/www/sisd.420.am/freeside/ mv freeside-${VERSION} freeside-${VERSION}.tar.gz .. update-webdemo: