亚洲va中文字幕无码毛片,亚洲成a人片77777kkkk,五十路丰满中年熟女中出,无码人妻精品一区二区,天堂在线中文

幫助與文檔

當(dāng)前位置: 主頁(yè) > 系統(tǒng)相關(guān) > 正文

Centos7.6如何配置使用supervisor設(shè)置進(jìn)程守護(hù)

時(shí)間:2024/5/7 13:26:18   來(lái)源:米安網(wǎng)絡(luò)   作者:云主機(jī)配置專(zhuān)家   點(diǎn)擊:236次

1.輸入該命令按回車(chē)鍵:`vi /etc/supervisord.conf`

   

2.按“i”進(jìn)入插入模式,找到`inet_http_server`,將注釋去掉

 

 

3.找到`include`,將注釋去掉,設(shè)置ini文件的保存目錄,修改完成后按`ESC`鍵輸入`wq`按回車(chē)鍵保存退出vi編輯

   

 

4.輸入該命令按回車(chē)鍵:`mkdir /etc/supervisor`

   

5.輸入該命令按回車(chē)鍵:`mkdir /etc/supervisor/config.d`

   

6.輸入該命令按回車(chē)鍵:`cd /etc/supervisor/config.d`

   

7.輸入該命令按回車(chē)鍵:`vi test.ini`

   

8.按`i`進(jìn)入插入模式,參考以下方式設(shè)置,command為指定程序路徑,修改完成后按`ESC`鍵輸入`wq`按回車(chē)鍵保存退出vi編輯 

 [program:test] command=/root/apache-tomcat-9.0.80/bin/startup.sh user=root autostart=true autorestart=true stderr_logfile=/root/test.err.log stdout_logfile=/root/test.out.log

   

9.輸入該命令按回車(chē)鍵:`supervisord -c /etc/supervisord.conf`

 

版權(quán)保護(hù): 本文「Centos7.6如何配置使用supervisor設(shè)置進(jìn)程守護(hù)」由 云主機(jī)配置專(zhuān)家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://www.iqcg.cn/docs/system/395.html

聯(lián)系客服

0312-5535754

微信公眾號(hào)