At Fri, 5 Dec 2014 15:28:58 +0300, Vasiliy Tolstov wrote: > > From: Vladislav Gorbunov <[email protected]> > > Restart sheepdog if the service process exits due to an uncaught signal > not specified as a clean exit status. > > Signed-off-by: Vladislav Gorbunov <[email protected]> > Reviewed-by: Vasiliy Tolstov <[email protected]> > --- > script/sheepdog.service.in | 3 +++ > 1 file changed, 3 insertions(+)
Applied, thanks. Hitoshi > > diff --git a/script/sheepdog.service.in b/script/sheepdog.service.in > index e7600cc..1da6f37 100644 > --- a/script/sheepdog.service.in > +++ b/script/sheepdog.service.in > @@ -10,6 +10,9 @@ EnvironmentFile=-@SYSCONFDIR@/default/sheepdog > ExecStart=/bin/sh -c '@SBINDIR@/sheep --pidfile > @LOCALSTATEDIR@/run/sheep.pid $(if [ -z "$SHEEP_OPTS" ]; then echo "--cluster > local --log dst=syslog --upgrade @LOCALSTATEDIR@/lib/sheepdog"; else echo > $SHEEP_OPTS; fi)' > PIDFile=@LOCALSTATEDIR@/run/sheep.pid > Type=forking > +Restart=on-abort > +StartLimitInterval=10s > +StartLimitBurst=3 > > [Install] > WantedBy=multi-user.target > -- > 2.1.3 > > -- > sheepdog mailing list > [email protected] > http://lists.wpkg.org/mailman/listinfo/sheepdog -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
