Commit
93642a0d1dd29c96e98824935ef963f6b1ef40eb did prevent to
specify the logging directory on command line and use the unix
socket.
It looks like the implementation has evolved and the arbitrary
limitation can be removed allowing a user to start unix socket
without editing the configuration file.
return TM_ECODE_FAILED;
}
- if ((suri->run_mode == RUNMODE_UNIX_SOCKET) && suri->set_logdir) {
- SCLogError(SC_ERR_INITIALIZATION,
- "can't use -l and unix socket runmode at the same time");
- return TM_ECODE_FAILED;
- }
-
/* save the runmode from the commandline (if any) */
suri->aux_run_mode = suri->run_mode;