Add command for list rpc management in Makefile.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 10 Apr 2010 07:53:53 +0000 (09:53 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 10 Apr 2010 08:01:51 +0000 (10:01 +0200)
commitc5644a5b7548b1e062096eb2aaad0da03a09a3b6
tree4cfc8a4c6b5127711a4729cd860ab981c84f03c5
parenta2afa82689964f5277db4361766e9e4154b260d2
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 <florent.bruneau@polytechnique.org>
Makefile