現(xiàn)在啟動(dòng)worker服務(wù)都是直接命令php think worker:server 發(fā)辦法持久化。打算放入rc.local文件中自啟動(dòng)。需要怎么操作?
cd /www/path/yourworkdir /usr/bin/php(寫你服務(wù)器的php命令絕對(duì)路徑) think worker: server
已解決,感謝
現(xiàn)在一般不是要么走systemd,要么走supervisord么..