From 98a73bb080f55f4f5d850102bcec6da2807e3d4f Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 19 Apr 2002 01:16:39 +0000 Subject: - add init file installation to Makefile, add unified init file - fix qsearch for op => '!=', value => '' searches - fix invalid_catd typo - add payby method to part_pkg and have fs_signup_server pass the data --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 21aeb4566..315d43070 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,10 @@ ASP_GLOBAL = /usr/local/etc/freeside/asp-global FREESIDE_DOCUMENT_ROOT = /var/www/freeside +INIT_FILE = /etc/init.d/freeside + HTTPD_RESTART = /etc/init.d/apache restart -QUEUED_RESTART = /etc/init.d/freeside restart +FREESIDE_RESTART = /etc/init.d/freeside restart #--- @@ -74,11 +76,14 @@ install-perl-modules: perl-modules cd FS; \ make install UNINST=1 -install: install-perl-modules install-docs +install-init: + [ -e ${INIT_FILE} ] || install -o root -g root -m 711 init.d/freeside-init ${INIT_FILE} + +install: install-perl-modules install-docs install-init deploy: install ${HTTPD_RESTART} - ${QUEUED_RESTART} + ${FREESIDE_RESTART} create-database: perl -e 'use DBIx::DataSource qw( create_database ); create_database( "${DATASOURCE}", "${DB_USER}", "${DB_PASSWORD}" ) or die $$DBIx::DataSource::errstr;' -- cgit v1.2.1