Xinetd disable stderr redirection

I just installed xinetd so that one of my binaries runs as a service. However, it seems to me that both stdout and stderr are redirected to the socket stream.

Is it possible to disable stderr? I try in the xinetd installation server field: server = binary 2>/dev/null but it does not work

thanks

+4
source share
1 answer

I did a crawl by putting it in a bash shell that redirects stderr to null and then putting the script in the xinetd configuration.

+3
source

Source: https://habr.com/ru/post/1432210/


All Articles