我怎样才能停止马戏团的服务器服务?

2024-05-29 10:58:49 发布

您现在位置:Python中文网/ 问答频道 /正文

有人知道怎么关掉马戏团的服务吗?我可以用这条线开始服务

 cmd =  /sbin/service mysqld restart

但很明显,当我关闭circusctl中的watcher时,服务仍在运行

^{pr2}$

这是我的马戏团.ini文件。在

 [circus]
 statsd = True
 httpd_host = 127.0.0.1
 httpd_port = 8080
 endpoint = tcp://127.0.0.1:5555

 [watcher:webapp]
 cmd = bin/chaussette --fd $(circus.sockets.web)
 numprocesses = 3
 use_sockets = True

 [watcher:hello]
 cmd = php /home/joseph/php/helloworld.php --fd $(circus.sockets.web)
 numprocess = 2
 use_sockets = True
 stdout_stream.filename = /home/joseph/test.log

 [watcher:mysql]
 cmd =  /sbin/service mysqld restart
 numprocess = 1
 stdout_stream.filename = /tmp/circus.log

 [watcher:httpd]
 cmd =  /sbin/service httpd $(circus.env.shell)
 numprocess = 1
 stdout_stream.filename = /tmp/circus.log

 [socket:web]
 host = 127.0.0.1
 port = 8888

Tags: cmdlogwebtruestreamservicestdoutfilename

热门问题