X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=35008887d61daf6893dd4e0011b317360e57bdda;hp=c9e920ba5ccb34d3ce45e8c6c556552f359021f4;hb=7209026857ada1ec716c728ae966f0fc986b180e;hpb=2adf848ec4e42200382ce0f028a31cefa98c3c39 diff --git a/Makefile b/Makefile index c9e920ba5..35008887d 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,8 @@ QUEUED_USER=fs_queue FREESIDE_PATH = `pwd` SELFSERVICE_USER = fs_selfservice +#never run on the same machine in production!!! +SELFSERVICE_MACHINES = localhost # SELFSERVICE_MACHINES = www.example.com # SELFSERVICE_MACHINES = web1.example.com web2.example.com @@ -179,6 +181,7 @@ install-selfservice: ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\ scp ~freeside/.ssh/id_dsa.pub ${SELFSERVICE_INSTALL_USER}@$$MACHINE:. ;\ ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo ${SELFSERVICE_INSTALL_USERADD} freeside; sudo install -D -o freeside -m 600 ./id_dsa.pub ~freeside/.ssh/authorized_keys" ;\ + ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo install -o freeside -d /usr/local/freeside" ;\ done install: install-perl-modules install-docs install-init install-rt