Branch: Tag:

1997-09-09

1997-09-09 03:44:44 by David Hedbor <david@hedbor.org>

Now setting the correct startpid.

Rev: server/base_server/roxen.pike:1.127

1: - constant cvs_version = "$Id: roxen.pike,v 1.126 1997/09/07 10:33:30 grubba Exp $"; + constant cvs_version = "$Id: roxen.pike,v 1.127 1997/09/09 03:44:44 neotron Exp $";   #define IN_ROXEN   #include <roxen.h>   #include <config.h>
2239:    configuration_dir += "/";       -  startpid = (int)find_arg(argv, "s", ({ "start-script-pid" }), -  ({ "ROXEN_START_SCRIPT_PID"})); +  startpid = getppid();       create_pid_file(find_arg(argv, "p", "pid-file", "ROXEN_PID_FILE"));