mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Refactor, rename restart counter and change type to char, MAX=10
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
14c0d80f63
commit
b8bf26b107
2 files changed
+12
-12
No files matched your search
@@ -101,8 +101,8 @@ typedef struct svc {
|
||||
svc_block_t block; /* Reason that this service is currently stopped */
|
||||
char cond[MAX_COND_LEN];
|
||||
|
||||
/* Incremented for each restart by service monitor. */
|
||||
const unsigned int restart_counter;
|
||||
/* Counters */
|
||||
const char restart_cnt; /* Incremented for each restart by service monitor. */
|
||||
|
||||
/* For inetd services */
|
||||
inetd_t inetd;
|
||||
|
||||
Reference in new issue
Block a user