mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +00:00
Minor refactor, rename RESPAWN_MAX -> SVC_RESPAWN_MAX
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
cd0bc57ca8
commit
548acf27cf
2 files changed
+6
-5
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user