added daemon example, not working with stdout/stderr redirection