aboutsummaryrefslogtreecommitdiff
path: root/src/piesctl-cl.opt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-01-02 23:58:06 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-01-02 23:58:06 +0200
commit6db017a32e379bb2eb7878771dea969f77c3168c (patch)
tree0e1563b8239f7c681708c64c0d693f6541e4e155 /src/piesctl-cl.opt
parent061afaf6385340f87bbeaa6d7e8ff6befa532551 (diff)
downloadpies-6db017a32e379bb2eb7878771dea969f77c3168c.tar.gz
pies-6db017a32e379bb2eb7878771dea969f77c3168c.tar.bz2
Switch to new control interface.
Old control options (--status, --restart-components) rewritten using piesctl. SIGUSR1 and SIGUSR2 no longer handled. * lib/arraymember.c (array_index): New function. * lib/libpies.h: Likewise. * src/cmdline.opt: Fix copyright years. * src/piesctl-cl.opt: Likewise. * src/ctl.c (ctlio_do_command): Implement restart. (pies_control_url): New function. (eval_env): rename json to result. New member cond. Restore pcond_ functions. (json_to_pcond): New function. (res_programs): Conditional selection of programs to list. Implement restart. * src/pies.c (ctlfile, statfile): Remove. (pies_keywords): Mark control-file and stat-file as inactive. (default_sigv): Remove SIGUSR1 and SIGUSR2 (pies_check_status): Don't send SIGUSR2. (stop_components): Remove. (request_restart_components): Rewrite as a wrapper. Call piesctl to do the job. (list_components): New function. * src/pies.h (ACTION_COMPRELOAD) (ACTION_DUMPSTATS): Remove. All callers changed. (progman_dump_stats): Remove. * src/piesctl.c (shttp_request_send): Don't initialize conn->req; the caller is responsible for that. (parse_condition, json_to_string) (parse_condition_to_uri): New functions. (com_list): Read conditional expression from the command line. (com_restart): Implement. * src/progman.c (progman_dump_stats): Remove.
Diffstat (limited to 'src/piesctl-cl.opt')
-rw-r--r--src/piesctl-cl.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/piesctl-cl.opt b/src/piesctl-cl.opt
index a83616e..d026269 100644
--- a/src/piesctl-cl.opt
+++ b/src/piesctl-cl.opt
@@ -18,7 +18,7 @@ OPTIONS_BEGIN("piesctl",
[<GNU pies control program>],
[<COMMAND [ARG...]>],
[<gnu>],
- [<copyright_year=2008-2015>],
+ [<copyright_year=2008-2016>],
[<copyright_holder=Sergey Poznyakoff>])
OPTION(instance,i,NAME,

Return to:

Send suggestions and report system problems to the System administrator.