diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-05-20 11:20:16 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-05-20 11:20:16 +0300 |
commit | 4026d0df3587843f78891dc2492620165b078acd (patch) | |
tree | 3a3aa9b62c2804e3ca96d78ee5377f22cf826eb7 | |
parent | ddb46c6aa42ada061e51c635c0230e4dc8eab881 (diff) | |
download | genrc-4026d0df3587843f78891dc2492620165b078acd.tar.gz genrc-4026d0df3587843f78891dc2492620165b078acd.tar.bz2 |
Version 1.1v1.1
* NEWS: New file.
-rw-r--r-- | NEWS | 56 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 57 insertions, 1 deletions
@@ -0,0 +1,56 @@ | |||
1 | genrc NEWS -- history of user-visible changes. 2018-05-20 | ||
2 | Copyright (C) 2018 Sergey Poznyakoff | ||
3 | See the end of file for copying conditions. | ||
4 | |||
5 | Please send genrc bug reports to <gray@gnu.org> or <gray@gnu.org.ua> | ||
6 | |||
7 | Version 1.1, 2018-05-20 | ||
8 | |||
9 | Implements restart mode. | ||
10 | |||
11 | The restart mode is a special feature of sentinel mode, controlled by | ||
12 | the new options --restart-on-exit and --restart-on-signal. In this | ||
13 | mode genrc will restart the subsidiary program if it exits with a | ||
14 | predefined status code or terminates on a predefined signal. Use this | ||
15 | feature to ensure the service provided by the program controlled by | ||
16 | genrc won't get terminated because of hitting a bug or encountering an | ||
17 | unforeseen external condition. | ||
18 | |||
19 | For example: | ||
20 | |||
21 | genrc --command=COMMAND \ | ||
22 | --sentinel \ | ||
23 | --restart-on-exit='!0' --restart-on-signal='!TERM,QUIT' start | ||
24 | |||
25 | This will ensure that the COMMAND will be restarted immediately after | ||
26 | it terminates, unless it exits with the status 0 or terminates on | ||
27 | SIGTERM or SIGQUIT. | ||
28 | |||
29 | |||
30 | Version 1.0, 2018-05-15 | ||
31 | |||
32 | Initial release | ||
33 | |||
34 | ========================================================================= | ||
35 | Copyright information: | ||
36 | |||
37 | Copyright (C) 2018 Sergey Poznyakoff | ||
38 | |||
39 | Permission is granted to anyone to make or distribute verbatim copies | ||
40 | of this document as received, in any medium, provided that the | ||
41 | copyright notice and this permission notice are preserved, | ||
42 | thus giving the recipient permission to redistribute in turn. | ||
43 | |||
44 | Permission is granted to distribute modified versions | ||
45 | of this document, or of portions of it, | ||
46 | under the above conditions, provided also that they | ||
47 | carry prominent notices stating who last changed them. | ||
48 | |||
49 | Local variables: | ||
50 | mode: outline | ||
51 | paragraph-separate: "[ ]*$" | ||
52 | eval: (add-hook 'write-file-hooks 'time-stamp) | ||
53 | time-stamp-start: "changes. " | ||
54 | time-stamp-format: "%:y-%02m-%02d" | ||
55 | time-stamp-end: "\n" | ||
56 | end: | ||
diff --git a/configure.ac b/configure.ac index a568649..90107a2 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -12,13 +12,13 @@ | |||
12 | # GNU General Public License for more details. | 12 | # GNU General Public License for more details. |
13 | # | 13 | # |
14 | # You should have received a copy of the GNU General Public License | 14 | # You should have received a copy of the GNU General Public License |
15 | # along with genrc. If not, see <http://www.gnu.org/licenses/>. | 15 | # along with genrc. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 | ||
17 | AC_PREREQ([2.69]) | 17 | AC_PREREQ([2.69]) |
18 | AC_INIT([genrc], [1.0.90], [gray@gnu.org]) | 18 | AC_INIT([genrc], [1.1], [gray@gnu.org]) |
19 | AC_CONFIG_SRCDIR([src/genrc.c]) | 19 | AC_CONFIG_SRCDIR([src/genrc.c]) |
20 | AC_CONFIG_HEADERS([config.h]) | 20 | AC_CONFIG_HEADERS([config.h]) |
21 | AM_INIT_AUTOMAKE([1.11 foreign silent-rules]) | 21 | AM_INIT_AUTOMAKE([1.11 foreign silent-rules]) |
22 | AC_CONFIG_MACRO_DIR(grecs/am) | 22 | AC_CONFIG_MACRO_DIR(grecs/am) |
23 | 23 | ||
24 | # Enable silent rules by default | 24 | # Enable silent rules by default |