php-censor/bin/daemonise

22 lines
544 B
Plaintext
Raw Normal View History

#!/usr/bin/env php
<?php
2016-04-25 19:30:23 +02:00
/**
* PHPCI - Continuous Integration for PHP
*
* @copyright Copyright 2013, Block 8 Limited.
* @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md
* @link http://www.phptesting.org/
*/
2016-07-19 20:28:11 +02:00
use PHPCensor\Command\DaemoniseCommand;
2016-04-21 19:05:32 +02:00
use Symfony\Component\Console\Application;
2016-07-21 17:20:34 +02:00
define('IS_CONSOLE', true);
2016-04-17 20:16:58 +02:00
require_once(dirname(__DIR__) . '/bootstrap.php');
$application = new Application();
2014-01-04 10:19:55 +01:00
$application->add(new DaemoniseCommand($loggerConfig->getFor('DaemoniseCommand')));
$application->run();