The process will be restarted only in case of an ERROR (crash, exit code!=0 IIRC, etc)
Once you send SIGTERM the application exits normally and the "watchdog" service does
not restart the child
Artyom Beilis
--------------
CppCMS - C++ Web Framework: http://cppcms.com/
CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
--------------------------------------------
On Mon, 3/31/14, 陈抒 <csf...@gm...> wrote:
Subject: [Cppcms-users] how to test service.worker_processes?
To: "cpp...@li..." <cpp...@li...>
Date: Monday, March 31, 2014, 5:55 PM
Today, I set
service.worker_processes to 1, then launch my web
server.I get two processes like
below:dean@dean-ubuntu:~$ ps -def | grep
data_collectordean 4812 4111 0 22:25
pts/0 00:00:00 bin/data_collector -c ../config.js
dean 4813 4812 0 22:25 pts/0 00:00:00
bin/data_collector -c ../config.js
I then kill 4813 process and wait, but it is not
restarted.
why?
Dean Chen
Best regards
http://blog.csdn.net/csfreebird
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
-----Inline Attachment Follows-----
_______________________________________________
Cppcms-users mailing list
Cpp...@li...
https://lists.sourceforge.net/lists/listinfo/cppcms-users
|