diff src/masqmail.h @ 419:d209b4846f2b

The pid files goes to /var/run/masqmail.pid now. Added --with-piddir. Now we can change the pid dir to /run on system that did this transition.
author markus schnalke <meillo@marmaro.de>
date Tue, 29 May 2012 21:35:17 +0200
parents 8fedb93e9b72
children 5593964ec779
line wrap: on
line diff
--- a/src/masqmail.h	Tue May 29 21:33:49 2012 +0200
+++ b/src/masqmail.h	Tue May 29 21:35:17 2012 +0200
@@ -529,7 +529,9 @@
 
 #define CONF_FILE CONF_DIR"/masqmail.conf"
 
-#define PIDFILEDIR "/var/run/masqmail/"
+#ifndef PID_DIR
+#define PID_DIR "/var/run"
+#endif
 
 #ifndef va_copy
 #ifdef __va_copy