Copy syslog to STDERR (#2208)

* Use openlog before syslog
In order to have a copy on stderr when syslog is not available.

* Take advantage of syslog for actualization
Pipe cron job STDERR and syslog to Docker log
Cf. 00bd467655
This commit is contained in:
Alexandre Alapetite
2019-01-06 00:46:48 +01:00
committed by GitHub
parent 20223b8b01
commit 802c264574
8 changed files with 24 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ if (php_sapi_name() !== 'cli') {
}
require(__DIR__ . '/../constants.php');
require(LIB_PATH . '/lib_rss.php');
require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
require(LIB_PATH . '/lib_install.php');
Minz_Configuration::register('system',