summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS56
-rw-r--r--configure.ac2
2 files changed, 57 insertions, 1 deletions
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..57d7295
--- a/dev/null
+++ b/NEWS
@@ -0,0 +1,56 @@
1genrc NEWS -- history of user-visible changes. 2018-05-20
2Copyright (C) 2018 Sergey Poznyakoff
3See the end of file for copying conditions.
4
5Please send genrc bug reports to <gray@gnu.org> or <gray@gnu.org.ua>
6
7Version 1.1, 2018-05-20
8
9Implements restart mode.
10
11The restart mode is a special feature of sentinel mode, controlled by
12the new options --restart-on-exit and --restart-on-signal. In this
13mode genrc will restart the subsidiary program if it exits with a
14predefined status code or terminates on a predefined signal. Use this
15feature to ensure the service provided by the program controlled by
16genrc won't get terminated because of hitting a bug or encountering an
17unforeseen external condition.
18
19For example:
20
21 genrc --command=COMMAND \
22 --sentinel \
23 --restart-on-exit='!0' --restart-on-signal='!TERM,QUIT' start
24
25This will ensure that the COMMAND will be restarted immediately after
26it terminates, unless it exits with the status 0 or terminates on
27SIGTERM or SIGQUIT.
28
29
30Version 1.0, 2018-05-15
31
32Initial release
33
34=========================================================================
35Copyright information:
36
37Copyright (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
49Local variables:
50mode: outline
51 paragraph-separate: "[ ]*$"
52eval: (add-hook 'write-file-hooks 'time-stamp)
53time-stamp-start: "changes. "
54time-stamp-format: "%:y-%02m-%02d"
55time-stamp-end: "\n"
56end:
diff --git a/configure.ac b/configure.ac
index a568649..90107a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@
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
17AC_PREREQ([2.69]) 17AC_PREREQ([2.69])
18AC_INIT([genrc], [1.0.90], [gray@gnu.org]) 18AC_INIT([genrc], [1.1], [gray@gnu.org])
19AC_CONFIG_SRCDIR([src/genrc.c]) 19AC_CONFIG_SRCDIR([src/genrc.c])
20AC_CONFIG_HEADERS([config.h]) 20AC_CONFIG_HEADERS([config.h])
21AM_INIT_AUTOMAKE([1.11 foreign silent-rules]) 21AM_INIT_AUTOMAKE([1.11 foreign silent-rules])

Return to:

Send suggestions and report system problems to the System administrator.