minor fixes

This commit is contained in:
SJ 2014-06-21 21:30:51 +02:00
parent 4e988deaf4
commit 1206bdf945
2 changed files with 7 additions and 2 deletions

View File

@ -14,12 +14,13 @@
NAME=piler
PID_FILE=`SBINDIR/pilerconf -q pidfile | cut -f2 -d=`
OPTIONS=""
PID_FILE=`SBINDIR/pilerconf $OPTIONS -q pidfile | cut -f2 -d=`
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}`
start() {
echo "starting $NAME . . ."
SBINDIR/piler -d
SBINDIR/piler -d $OPTIONS
}
stop() {

View File

@ -51,6 +51,10 @@ class ControllerMessageBulkrestore extends Controller {
require_once 'Zend/Mail/Storage/Imap.php';
$imap_ok = $this->model_mail_mail->connect_imap();
if(!$imap_ok) {
syslog(LOG_INFO, "imap connection failed for bulkrestore");
}
}