Revert "Changed PID file to /data instead of /log"
This reverts commit 45c3b453ec54ae93f82cc3bd53294fc25aced4ee.
This commit is contained in:
parent
45c3b453ec
commit
62ebf542d5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user