On Fri, Jul 14, 2017 at 06:25:32PM +0200, Edgar Fuß wrote: > And: > -- is there a way to detach in a shell script? This has worked reasonably well for me: cd / exec < /dev/null > /dev/null 2>&1 main & # create pidfile here exit 0 Dave -- David Young dyoung%pobox.com@localhost Urbana, IL (217) 721-9981