Hello -

    Does the fwknop server (v2.0.0rc1) fork off its parent when running such that termination of the parent process does not terminate the child process in which the fwknop server runs?

    I have two `sh` scripts running consecutively in an initrd. The first `sh` script kicks-off the fwknop daemon while the second performs a restart of the daemon. Upon the restart directive, there are no fwknop daemons found running. I had implemented the perl-based fwknop server daemon using the aforementioned setup and the restart directive in the second `sh` script was able to find and restart the fwknop server daemon instantiated in the first `sh` script.

To recreate (simplified):
# - - Create script #1
cat > ../script_1.sh << __EOF
    #!/bin/sh
    /sbin/fwknopd
__EOF
chmod 0755../script_1.sh

# - - Create script #2
cat > ../script_2.sh << __EOF
    #!/bin/sh
    /sbin/fwknopd --restart
__EOF
chmod 0755../script_2.sh

# - - Execute above scripts
./script_1.sh
./script_2.sh

    To test, I amended the second `sh` script by: (i) inserting a debug command to output `ps` into a file, followed by (ii) replacing the restart directive with an invocation of a new fwknop daemon (using the exact same directivesyntax  as given in the first script) and (iii) another debug command to output `ps` into a second file. I also appended the `ps` debug command to the end of the first `sh` script to ensure that it was successfully running. The test did snow successful starts of the fwknop deamon in both instances. However, the fwknop daemon terminates upon termination of the containing `sh`.

Thanks -
WIll