From a1f1e2779999599ce02525148d13facce46f8ced Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 26 Mar 2008 22:24:57 +0000 Subject: Respect what the user requested as localstate directory, rather than hardcoding /var. Patch from Flameeyes git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@135 153bfa13-eec0-0310-be40-b0cb6a0e1b4b --- libdaemon/dpid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdaemon/dpid.c') diff --git a/libdaemon/dpid.c b/libdaemon/dpid.c index 39c87f4..ee0b2e8 100644 --- a/libdaemon/dpid.c +++ b/libdaemon/dpid.c @@ -48,7 +48,7 @@ #define PATH_MAX 512 #endif -#define VARRUN "/var/run" +#define VARRUN LOCALSTATEDIR "/run" const char *daemon_pid_file_ident = NULL; daemon_pid_file_proc_t daemon_pid_file_proc = daemon_pid_file_proc_default; -- cgit