From c5644a5b7548b1e062096eb2aaad0da03a09a3b6 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 10 Apr 2010 09:53:53 +0200 Subject: [PATCH] Add command for list rpc management in Makefile. make start-listrpc -> starts the list RPC daemon in background. Logs are not accessible in this mode, so this cannot be used to debug this rpc server (but this can be used to work on the website). make stop-listrpc -> stops an instance of the RPC daemon started using make start-listrpc make restart-listrpc -> stops + starts make start-listrpc-fg -> starts the list RPC daemon in foreground. Logs are accessible, the daemon can be stopped using ^C Important Note: You can change the port of your RPC daemon by adding a parameter rpcport in the Lists section of your platal.conf: [Lists] rpcport = "42420" Signed-off-by: Florent Bruneau --- Makefile | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bd1093e..bb8ae77 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ core: conf: spool/templates_c spool/mails_c classes/platalglobals.php configs/platal.cron htdocs/.htaccess spool/conf spool/tmp -spool/templates_c spool/mails_c spool/uploads spool/conf spool/tmp: +spool/templates_c spool/mails_c spool/uploads spool/conf spool/tmp spool/run: mkdir -p $@ chmod o+w $@ @@ -145,7 +145,6 @@ spool/openid/store: ## ## banana ## - banana: htdocs/images/banana htdocs/css/banana.css htdocs/images/banana: banana-sub cd $(@D) && ln -snf ../../banana/img $(@F) @@ -203,8 +202,26 @@ htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).%.js: $(JQUERY_UI_PATHES): htdocs/javascript/jquery.ui.%.js: htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).%.js ln -snf $(