mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
Increase MAX number of arguments to a service 32 -> 64
Usually a wrapper script is recommended, but for some use-cases it is more efficient to just be able to use more command line args. Example application that needs this; udhcpc Note, we should refactor this to use a dynamically allocated array instead of this static one. We relied heavily on static arrays in Finit 1, when everything had to fit i shm. This is just legacy. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
4163527006
commit
1e238eec61
1 file changed
+1
-1
@@ -73,7 +73,7 @@ typedef enum {
|
||||
#define MAX_COND_LEN (MAX_ARG_LEN * 3)
|
||||
#define MAX_USER_LEN 16
|
||||
#define MAX_NUM_FDS 64 /* Max number of I/O plugins */
|
||||
#define MAX_NUM_SVC_ARGS 32
|
||||
#define MAX_NUM_SVC_ARGS 64
|
||||
|
||||
/* Default kill delay (msec) after SIGTERM (svc->sighalt) that we SIGKILL processes */
|
||||
#define SVC_TERM_TIMEOUT 3000
|
||||
|
||||
Reference in new issue
Block a user