Page MenuHomec4science

PhabricatorDaemon.php
No OneTemporary

File Metadata

Created
Mon, Jul 1, 23:41

PhabricatorDaemon.php

<?php
abstract class PhabricatorDaemon extends PhutilDaemon {
protected function willRun() {
parent::willRun();
$phabricator = phutil_get_library_root('phabricator');
$root = dirname($phabricator);
require_once $root.'/scripts/__init_script__.php';
}
protected function willSleep($duration) {
LiskDAO::closeAllConnections();
return;
}
}

Event Timeline