Age | Commit message (Collapse) | Author | Files | |
---|---|---|---|---|
2022-05-13 | Import proctitle API from mailfromd. | Sergey Poznyakoff | 1 | |
2019-07-11 | New options to select the shell binary and to run the command directly | Sergey Poznyakoff | 1 | |
* .gitmodules: New module: runcap * Makefile.am: Build runcap * configure.ac: Setup runcap * src/Makefile.am: Add runcap dependencies. * src/com_start.c (spawn): New function. (com_start): Use spawn. * src/sentinel.c (start_command): Use spawn. * src/genrc.8: Document new options: --shell, --exec, --verbose. * src/genrc.c (genrc_shell): New global. (longopts): New options: --shell (-s), --exec (-e). (main): Setup shortopts from longopts. * src/genrc.h (genrc_shell): New global. (spawn): New proto. * src/runas.c: Set HOME and USER environment variables. | ||||
2018-05-20 | Sentinel mode: restart the program on certain conditions | Sergey Poznyakoff | 1 | |
* Makefile.am: Create the ChangeLog file from git log. * configure.ac: Request git2chg * src/com_start.c: Use sigaction instead of signal. * src/genrc.8: Document new options. * src/genrc.c: New options --restart-on-exit and --restart-on-signal. * src/genrc.h (str_to_sig, str_to_int): New prototypes. (add_restart_condition): New prototype. * src/sentinel.c (restart_on, add_restart_condition): (check_failure_rate): New functions. (wait_loop): Return if restart is requested. (sentinel): Restart the program if needed. | ||||
2018-05-15 | Initial commit | Sergey Poznyakoff | 1 | |