path: root/src/genrc.h
AgeCommit message (Collapse)AuthorFiles
2019-07-11New options to select the shell binary and to run the command directlySergey Poznyakoff1
* .gitmodules: New module: runcap * Build runcap * Setup runcap * src/ 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-20Sentinel mode: restart the program on certain conditionsSergey Poznyakoff1
* Create the ChangeLog file from git log. * 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-17Implement the --user and --group options.Sergey Poznyakoff1
2018-05-17New option: --verboseSergey Poznyakoff1
2018-05-15Version 1.0Sergey Poznyakoff1
2018-05-15Add documentation.Sergey Poznyakoff1
2018-05-15Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.