* Gert Doering <g...@greenie.muc.de>:
> Hi,
> 
> On Mon, Jan 27, 2020 at 04:40:10PM +0100, Ralf Hildebrandt wrote:
> > How can I easily redirect script stderr/stdout while in daemon mode?
> > 
> > I have a --auth-user-pass-verify script which (in some odd cases)
> > exits with exit status 255 and I cannot fathom why.
> 
> At the top of the script
> 
> exec >>/tmp/myout.txt 2>&1

Oy, that's easy. You're the best. Uhm, and iff the script is in Perl?

Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netzwerk

Campus Benjamin Franklin (CBF)
Haus I | 1. OG | Raum 105
Hindenburgdamm 30 | D-12203 Berlin

Tel. +49 30 450 570 155
ralf.hildebra...@charite.de
https://www.charite.de


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to