[sr-dev] git:master:a5c45d1a: pkg/kamailio/deb: also restart service if unclean exit code

Victor Seva linuxmaniac at torreviejawireless.org
Thu Nov 8 18:02:37 CET 2018


Module: kamailio
Branch: master
Commit: a5c45d1af4bf31e872963a954c43b8ee5618a90a
URL: https://github.com/kamailio/kamailio/commit/a5c45d1af4bf31e872963a954c43b8ee5618a90a

Author: Kevin Olbrich <ko at sv01.de>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2018-11-08T18:02:32+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>

---

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/a5c45d1af4bf31e872963a954c43b8ee5618a90a.diff
Patch: https://github.com/kamailio/kamailio/commit/a5c45d1af4bf31e872963a954c43b8ee5618a90a.patch




More information about the sr-dev mailing list