From: Adam Dickmeiss Date: Tue, 10 Jul 2007 09:19:32 +0000 (+0000) Subject: Do not generate pazpar2.pid by default, i.e. only generate PID file when X-Git-Tag: PAZPAR2.1.0.2~72 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=04864c49bf43ed46f71e0a6e452d56fe76fdfce1;p=pazpar2-moved-to-github.git Do not generate pazpar2.pid by default, i.e. only generate PID file when -p is given. --- diff --git a/src/pazpar2.c b/src/pazpar2.c index 806a5ab..bc87e4c 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,4 +1,4 @@ -/* $Id: pazpar2.c,v 1.91 2007-06-18 12:37:39 adam Exp $ +/* $Id: pazpar2.c,v 1.92 2007-07-10 09:19:32 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -56,7 +56,7 @@ int main(int argc, char **argv) int ret; int log_file_in_use = 0; char *arg; - const char *pidfile = "pazpar2.pid"; + const char *pidfile = 0; const char *uid = 0; if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) diff --git a/test/.cvsignore b/test/.cvsignore index 2c3f25d..cb6a995 100644 --- a/test/.cvsignore +++ b/test/.cvsignore @@ -2,4 +2,3 @@ *.dif Makefile Makefile.in -pazpar2.pid