Fix #3: Don't guess PID file location, use configure --runstatedir

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2019-11-24 18:52:31 +01:00
parent 4396004fba
commit 7793fcbd14
5 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ static pid_t pidfile_pid = 0;
static void pidfile_cleanup(void);
const char *__pidfile_path = LOCALSTATEDIR "/run";
const char *__pidfile_path = RUNSTATEDIR;
const char *__pidfile_name = NULL;
int