php脚本部署服务框架
start.php
//加载文件
require_once './wrapper/wrapper.php';
Wrapper::$daemonize = true;
Wrapper::$masterPidPath = '/tmp/testShell.pid';
Wrapper::$file = "./shell/testShell.php";
Wrapper::run();
php ./start.php start