From 7b0d9d11fd04546e8741a7930e20057d39a82d5b Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Mon, 7 Apr 2014 18:48:07 +0200 Subject: [PATCH] Moving pid to /tmp/ so we can run the program without root privileges --- src/names.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/names.c b/src/names.c index 37708f81..138c3cc0 100644 --- a/src/names.c +++ b/src/names.c @@ -77,7 +77,7 @@ void make_names(void) { xasprintf(&logfilename, LOCALSTATEDIR SLASH "log" SLASH "%s.log", identname); if(!pidfilename) - xasprintf(&pidfilename, LOCALSTATEDIR SLASH "run" SLASH "%s.pid", identname); + xasprintf(&pidfilename, SLASH "tmp" SLASH "%s.pid", identname); if(!unixsocketname) { int len = strlen(pidfilename); -- 2.39.5