Annotation of parser3/tests/httpd/response-timeout/site/detach.sh, revision 1.1

1.1     ! moko        1: #!/bin/sh
        !             2: # the program leaves its own session and lives on, it must not hold the connection of the request
        !             3: if command -v setsid >/dev/null 2>&1; then
        !             4:        setsid sleep 8 >/dev/null 2>&1 </dev/null &
        !             5: else
        !             6:        sleep 8 >/dev/null 2>&1 </dev/null & # old systems have no setsid: the program is killed with its group
        !             7: fi
        !             8: echo $! >detach.pid

E-mail: