|
* src/com_stop.c (pidlist_wait): New function.
(com_stop): Send the genrc_signal_stop first. If any processes remain
after timeout, send SIGKILL. Use genrc_kill_mode to decide how to
send the signals.
* src/genrc.8: Document the --kill-mode option.
* src/genrc.c: New option -k, --kill-mode. New controlling environment
variable GENRC_KILL_MODE.
(genrc_kill_mode): New global.
(main): Set genrc_kill_mode.
(help_msg): Document missing options.
* src/genrc.h (pidlist_kill): Change signature.
(genrc_kill_mode): New enum and extern.
* src/pid_ps.c (pid_ps_get): Pass the -w option to ps.
* src/sentinel.c (log_buffer_read): Return status code.
(wait_loop): Close the descriptor if log_buffer_read returns -1.
(start_command): Run the command as session leader.
* configure.ac: Version 1.3.90.
* NEWS: Document changes.
* README: Update.
|