Minor refactor, rename RESPAWN_MAX -> SVC_RESPAWN_MAX

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-03-11 12:48:44 +01:00
1 parent cd0bc57ca8
commit 548acf27cf
2 files changed
+6 -5

No files matched your search

+3
View File
@@ -77,6 +77,9 @@ typedef enum {
/* Default kill delay (msec) after SIGTERM (svc->sighalt) that we SIGKILL processes */
#define SVC_TERM_TIMEOUT 3000
/* Prevent endless respawn of faulty services. */
#define SVC_RESPAWN_MAX 10
/*
* Default enable for all services, can be stopped by means
* of issuing an initctl call. E.g.