From 62ebf542d58127ff9a6bffd309ed8b2cfcb759b5 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Fri, 24 Apr 2015 17:56:59 +0300 Subject: [PATCH] Revert "Changed PID file to /data instead of /log" This reverts commit 45c3b453ec54ae93f82cc3bd53294fc25aced4ee. --- server/core/gateway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/gateway.c b/server/core/gateway.c index ed69d3e3e..69191a978 100644 --- a/server/core/gateway.c +++ b/server/core/gateway.c @@ -2015,7 +2015,7 @@ static int write_pid_file(char *home_dir) { int fd = -1; - snprintf(pidfile, PATH_MAX, "%s/data/maxscale.pid", home_dir); + snprintf(pidfile, PATH_MAX, "%s/log/maxscale.pid", home_dir); fd = open(pidfile, O_WRONLY | O_CREAT | O_TRUNC, 0777); if (fd == -1) {