if run with Daemon mode and code not exit with 1, Supervisor will auto restore Daemon, this will not effect script mode
https://github.com/pmvc-plugin/supervisor/blob/master/demos/demo.php
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
- vim composer.json
{
"require": {
"pmvc-plugin/supervisor": "dev-master"
}
}
- php composer.phar install
- php composer.phar require pmvc-plugin/supervisor