mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:10:12 +01:00
minor fixes
This commit is contained in:
parent
4e988deaf4
commit
1206bdf945
@ -14,12 +14,13 @@
|
|||||||
|
|
||||||
|
|
||||||
NAME=piler
|
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}`
|
PID_NUMBER=`test -f ${PID_FILE} && cat ${PID_FILE}`
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo "starting $NAME . . ."
|
echo "starting $NAME . . ."
|
||||||
SBINDIR/piler -d
|
SBINDIR/piler -d $OPTIONS
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
@ -51,6 +51,10 @@ class ControllerMessageBulkrestore extends Controller {
|
|||||||
require_once 'Zend/Mail/Storage/Imap.php';
|
require_once 'Zend/Mail/Storage/Imap.php';
|
||||||
|
|
||||||
$imap_ok = $this->model_mail_mail->connect_imap();
|
$imap_ok = $this->model_mail_mail->connect_imap();
|
||||||
|
|
||||||
|
if(!$imap_ok) {
|
||||||
|
syslog(LOG_INFO, "imap connection failed for bulkrestore");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user