mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-10 01:02:03 +03:00
nfqws,tpws: do most checks before daemonize
This commit is contained in:
@@ -170,6 +170,8 @@ struct params_s
|
||||
char debug_logfile[PATH_MAX];
|
||||
bool debug;
|
||||
|
||||
bool daemon;
|
||||
|
||||
#ifdef __linux__
|
||||
int qnum;
|
||||
#elif defined(BSD)
|
||||
@@ -187,6 +189,7 @@ struct params_s
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
#endif
|
||||
char pidfile[PATH_MAX];
|
||||
|
||||
char hostlist_auto_debuglog[PATH_MAX];
|
||||
|
||||
|
Reference in New Issue
Block a user