mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:10:13 +01:00
minor fixes
This commit is contained in:
parent
4e988deaf4
commit
1206bdf945
@ -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() {
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user