From db026d2ccca53f22f9a62ef6b3e5b60cc9ff6a6d Mon Sep 17 00:00:00 2001 From: Samuel Lai Date: Tue, 4 Mar 2014 16:19:30 +1100 Subject: [PATCH] Fixed Supervisor config file example so it actually stops the components properly. --- README.textile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.textile b/README.textile index 8f64bd3..192e420 100644 --- a/README.textile +++ b/README.textile @@ -165,16 +165,20 @@ bc.. [program:stackdump-solr] command=/path/to/stackdump/start_solr.sh priority=900 user=stackdump_user +stopasgroup=true stdout_logfile=/path/to/stackdump/solr_stdout.log stderr_logfile=/path/to/stackdump/solr_stderr.log [program:stackdump-web] command=/path/to/stackdump/start_web.sh user=stackdump_user +stopasgroup=true stdout_logfile=/path/to/stackdump/web_stdout.log stderr_logfile=/path/to/stackdump/web_stderr.log -p. Yet another option for those using newer Linux distributions is to create native "systemd service definitions":http://www.freedesktop.org/software/systemd/man/systemd.service.html of type _simple_ for each of the components. +p. Supervisor v3.0b1 or later is required, due to the _stopasgroup_ parameter. Without this parameter, Supervisor will not be able to stop the Stackdump components properly as they're being executed from a script. + +Yet another option for those using newer Linux distributions is to create native "systemd service definitions":http://www.freedesktop.org/software/systemd/man/systemd.service.html of type _simple_ for each of the components. h2. Maintenance