This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 启动 | |
| 以debug(调试)方式启动 | |
| php start.php start | |
| 以daemon(守护进程)方式启动 | |
| php start.php start -d | |
| 停止 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 编辑“/etc/rc.local”,把启动程序的shell命令输入进去即可. | |
| /path/of/php /path/of/start.php start -d | |
| *注意php执行路径都要写全路径 |