Re: [sr-dev] [kamailio/kamailio] Daemon not restated if process exited with not null code (#1085)

2017-09-17 Thread Daniel-Constantin Mierla
This can be fixed by packagers on their systemd scripts.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1085#issuecomment-330062312___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Daemon not restated if process exited with not null code (#1085)

2017-09-17 Thread Daniel-Constantin Mierla
Closed #1085.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1085#event-1252539359___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Daemon not restated if process exited with not null code (#1085)

2017-04-24 Thread sergey-safarov
Hello @linuxmaniac 
Yes, I want say "non-zero exit code" or  "Unclean exit code"
Clean exit code is "0" or codes marked as "SuccessExitStatus"
Please see same link

> SuccessExitStatus=1 2 8 SIGKILL
> ensures that exit codes 1, 2, 8 and the termination signal SIGKILL are 
> considered clean service terminations.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1085#issuecomment-296637582___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Daemon not restated if process exited with not null code (#1085)

2017-04-24 Thread Victor Seva
What do you mean by 'not null code'?

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

```
Restart:
[...] 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.
[...] 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. 
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1085#issuecomment-296592791___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] Daemon not restated if process exited with not null code (#1085)

2017-04-22 Thread sergey-safarov
Details in attached log file.
[kamailio-fail.txt](https://github.com/kamailio/kamailio/files/949032/kamailio-fail.txt)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1085___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev