comparison src/masqmail.c @ 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 0430194f7ef8
children f37384470855
comparison
equal deleted inserted replaced
418:4cbaf6d6793f 419:d209b4846f2b
144 exit(1); 144 exit(1);
145 } 145 }
146 } 146 }
147 147
148 signal(SIGTERM, sigterm_handler); 148 signal(SIGTERM, sigterm_handler);
149 write_pidfile(PIDFILEDIR "/masqmail.pid"); 149 write_pidfile(PID_DIR "/masqmail.pid");
150 150
151 conf.do_verbose = FALSE; 151 conf.do_verbose = FALSE;
152 152
153 /* 153 /*
154 ** closing and reopening the log ensures that it is open afterwards 154 ** closing and reopening the log ensures that it is open afterwards