Skip to content

Instantly share code, notes, and snippets.

@Techiu
Techiu / workerman_start
Last active October 24, 2017 10:46
linux workerman 的启动、停止
启动
以debug(调试)方式启动
php start.php start
以daemon(守护进程)方式启动
php start.php start -d
停止
@Techiu
Techiu / autorun
Created October 24, 2017 09:51
Linux下 GatewayWorker开机自动启动
编辑“/etc/rc.local”,把启动程序的shell命令输入进去即可.
/path/of/php /path/of/start.php start -d
*注意php执行路径都要写全路径