[sr-dev] git:5.2:33fb7ac2: pkg/kamailio/deb: also restart service if unclean exit code

Victor Seva linuxmaniac at torreviejawireless.org
Thu Nov 8 18:05:50 CET 2018


Module: kamailio
Branch: 5.2
Commit: 33fb7ac2b367b4145815ed6e6919deb8d7c8631d
URL: https://github.com/kamailio/kamailio/commit/33fb7ac2b367b4145815ed6e6919deb8d7c8631d

Author: Kevin Olbrich <ko at sv01.de>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2018-11-08T18:04:54+01:00

pkg/kamailio/deb: also restart service if unclean exit code

New:
If set to on-failure, the service will be restarted when the process exits with a non-zero exit code, is terminated by a signal (including on core dump, but excluding the aforementioned four signals), when an operation (such as service reload) times out, and when the configured watchdog timeout is triggered.

Old:
If set to on-abort, the service will be restarted only if the service process exits due to an uncaught signal not specified as a clean exit status.

https://www.freedesktop.org/software/systemd/man/systemd.service.html

Signed-off-by: Kevin Olbrich <ko at sv01.de>
(cherry picked from commit a5c45d1af4bf31e872963a954c43b8ee5618a90a)

---

Modified: pkg/kamailio/deb/bionic/kamailio.service
Modified: pkg/kamailio/deb/buster/kamailio.service
Modified: pkg/kamailio/deb/debian/kamailio.service
Modified: pkg/kamailio/deb/jessie/kamailio.service
Modified: pkg/kamailio/deb/sid/kamailio.service
Modified: pkg/kamailio/deb/stretch/kamailio.service
Modified: pkg/kamailio/deb/xenial/kamailio.service

---

Diff:  https://github.com/kamailio/kamailio/commit/33fb7ac2b367b4145815ed6e6919deb8d7c8631d.diff
Patch: https://github.com/kamailio/kamailio/commit/33fb7ac2b367b4145815ed6e6919deb8d7c8631d.patch




More information about the sr-dev mailing list