Date: Sun, 17 Mar 2013 19:46:25 +0100 From: Polytropon <freebsd@edvax.de> To: s m <sam.gh1986@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: how run snort in quiet and deamon mode Message-ID: <20130317194625.3c4307c6.freebsd@edvax.de> In-Reply-To: <CAA_1SgGHg3APcDqhxcZGkh02XZBCVgfhA22cpf=VjWcnKZBqcw@mail.gmail.com> References: <CAA_1SgGHg3APcDqhxcZGkh02XZBCVgfhA22cpf=VjWcnKZBqcw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Mar 2013 12:15:53 +0330, s m wrote: > hello guys > > i have a freebsd8.2 and wanna run snort on it. my snort version is > 2.9.3.1. i want to run snort in deamon mode and quietly. man page says > that "D" flag is for running snort in deamon mode and "q" flag is to > run it quietly(do not show startup message). my problem is, these two > flag can not work together. when i run "snort -q -D" or "snort -D -q", > snort run in deamon mode but some startup messages are shown. when i > run "snort -q" no message is shown. > > i know it is so simple issue but i do not know how to do that. any > hints or comments are appreciated. Maybe you can start the program as a (quite) background process? snort -q & If you encounter issues related to "controlling terminal disconnect", you can use the system's "daemon" command to basically do what -D would do, or use the port "detach". daemon snort -q See "man daemon" for options you might need to add. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130317194625.3c4307c6.freebsd>