X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=77fbf6bd4e64cc6e65cce05c33eb06b66b8f6bc6;hb=a43e1c7bfa9a263b5fa4b7da271f755940c6d528;hp=826ef5f5c8ee05b6ac7c0e15aa033e520548d559;hpb=76b6671a80cf0fe1c0478e4df298b481548883b3;p=freeside.git diff --git a/Makefile b/Makefile index 826ef5f5c..77fbf6bd4 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ HTTPD_RESTART = /etc/init.d/apache restart #openbsd #HTTPD_RESTART = kill -TERM `cat /var/www/logs/httpd.pid`; sleep 1; /usr/sbin/httpd -u -DSSL #apache -#HTTPD_RESTART = /usr/local/apache/bin/apachectl restart +#HTTPD_RESTART = /usr/local/apache/bin/apachectl stop; sleep 10; /usr/local/apache/bin/apachectl startssl FREESIDE_RESTART = ${INIT_FILE} restart @@ -170,6 +170,13 @@ install-selfservice: ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo install -o freeside -d /usr/local/freeside" ;\ done +update-selfservice: + for MACHINE in ${SELFSERVICE_MACHINES}; do \ + rsync -rlptz fs_selfservice/FS-SelfService/ ${SELFSERVICE_INSTALL_USER}@$$MACHINE:FS-SelfService ;\ + ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\ + ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\ + done + install: install-perl-modules install-docs install-init deploy: install