diff options
-rw-r--r-- | NEWS | 56 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 57 insertions, 1 deletions
@@ -0,0 +1,56 @@ +genrc NEWS -- history of user-visible changes. 2018-05-20 +Copyright (C) 2018 Sergey Poznyakoff +See the end of file for copying conditions. + +Please send genrc bug reports to <gray@gnu.org> or <gray@gnu.org.ua> + +Version 1.1, 2018-05-20 + +Implements restart mode. + +The restart mode is a special feature of sentinel mode, controlled by +the new options --restart-on-exit and --restart-on-signal. In this +mode genrc will restart the subsidiary program if it exits with a +predefined status code or terminates on a predefined signal. Use this +feature to ensure the service provided by the program controlled by +genrc won't get terminated because of hitting a bug or encountering an +unforeseen external condition. + +For example: + + genrc --command=COMMAND \ + --sentinel \ + --restart-on-exit='!0' --restart-on-signal='!TERM,QUIT' start + +This will ensure that the COMMAND will be restarted immediately after +it terminates, unless it exits with the status 0 or terminates on +SIGTERM or SIGQUIT. + + +Version 1.0, 2018-05-15 + +Initial release + +========================================================================= +Copyright information: + +Copyright (C) 2018 Sergey Poznyakoff + + Permission is granted to anyone to make or distribute verbatim copies + of this document as received, in any medium, provided that the + copyright notice and this permission notice are preserved, + thus giving the recipient permission to redistribute in turn. + + Permission is granted to distribute modified versions + of this document, or of portions of it, + under the above conditions, provided also that they + carry prominent notices stating who last changed them. + +Local variables: +mode: outline +paragraph-separate: "[ ]*$" +eval: (add-hook 'write-file-hooks 'time-stamp) +time-stamp-start: "changes. " +time-stamp-format: "%:y-%02m-%02d" +time-stamp-end: "\n" +end: diff --git a/configure.ac b/configure.ac index a568649..90107a2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,42 +1,42 @@ # This file is part of genrc. -*- Autoconf -*- # Copyright (C) 2018 Sergey Poznyakoff. # # Genrc is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Genrc is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with genrc. If not, see <http://www.gnu.org/licenses/>. AC_PREREQ([2.69]) -AC_INIT([genrc], [1.0.90], [gray@gnu.org]) +AC_INIT([genrc], [1.1], [gray@gnu.org]) AC_CONFIG_SRCDIR([src/genrc.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.11 foreign silent-rules]) AC_CONFIG_MACRO_DIR(grecs/am) # Enable silent rules by default AM_SILENT_RULES([yes]) # Checks for programs. AC_PROG_CC AC_PROG_RANLIB # Checks for libraries. AC_CHECK_LIB(pcre, main) # Checks for header files. AC_CHECK_HEADERS([getopt.h pcre.h]) # Checks for library functions. AC_CHECK_FUNCS([getdtablesize]) GRECS_SETUP(grecs, [all-parsers git2chg]) AM_CONDITIONAL([COND_PCRE], |