diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-01-26 00:05:58 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-01-26 00:05:58 +0200 |
commit | 89b8439fc83ad8769b379e4a87ea35678ea57e7e (patch) | |
tree | 363bd2dcb05f0852f8d58d945c84b73c5bd613e4 | |
parent | 0cabe8d21e74d48317298ecb146b9e37f86267ad (diff) | |
download | jumper-89b8439fc83ad8769b379e4a87ea35678ea57e7e.tar.gz jumper-89b8439fc83ad8769b379e4a87ea35678ea57e7e.tar.bz2 |
Bugfix
* doc/jumper.8in: Document missing values
* src/progman.c (progman_decommission): Call progman_cleanup
on each iteration.
-rw-r--r-- | doc/jumper.8in | 20 | ||||
-rw-r--r-- | src/progman.c | 5 |
2 files changed, 16 insertions, 9 deletions
diff --git a/doc/jumper.8in b/doc/jumper.8in index 00fdfc5..77c8cdc 100644 --- a/doc/jumper.8in +++ b/doc/jumper.8in @@ -16,3 +16,3 @@ .so config.so -.TH JUMPER 8 "December 9, 2013" "JUMPER" +.TH JUMPER 8 "January 25, 2020" "JUMPER" .SH NAME @@ -514,7 +514,10 @@ command (file name and line number separated with a colon). Name of the event that triggered the action; one of: -.BR startup , .BR cleanup , .BR exit , -or -.BR signal . +.BR heartbeat , +.BR signal , +.BR startup . +.BR +.B JUMPER_PID +PID of the running network management process. .RE @@ -649,7 +652,7 @@ Line number in that file. Name of the event that triggered the action; one of: -.BR startup , .BR cleanup , .BR exit , -or -.BR signal . +.BR heartbeat , +.BR signal , +.BR startup . .TP @@ -663,2 +666,5 @@ Exit code returned by the program, or the number of the signal that caused its termination. +.TP +.B pid +PID of the listener network management process. .RE diff --git a/src/progman.c b/src/progman.c index 1963676..ef5c73d 100644 --- a/src/progman.c +++ b/src/progman.c @@ -316,3 +316,3 @@ progman_cleanup(void) void -progman_terminate() +progman_terminate(void) { @@ -346,3 +346,3 @@ progman_terminate() void -progman_decommission() +progman_decommission(void) { @@ -373,2 +373,3 @@ progman_decommission() } + progman_cleanup(); listener_proc_report(); |