| Index: masters/master-common-rules.mk
|
| diff --git a/masters/master-common-rules.mk b/masters/master-common-rules.mk
|
| index c1d96ba28e456e0ed5c984d6954178fd210167aa..a8b72e654c4b338ef119c8dca7894b33327c6d67 100644
|
| --- a/masters/master-common-rules.mk
|
| +++ b/masters/master-common-rules.mk
|
| @@ -91,7 +91,7 @@
|
| ) 2>&1 | tee -a actions.log
|
| endif
|
|
|
| - $(SCRIPTS_DIR)/master/kill_pidfile.sh twistd.pid
|
| + if `test -f twistd.pid`; then kill -TERM -$$(ps h -o pgid= $$(cat twistd.pid) | awk '{print $$1}'); fi;
|
|
|
| kill: notify printstep
|
| if `test -f twistd.pid`; then kill -KILL -$$(ps h -o pgid= $$(cat twistd.pid) | awk '{print $$1}'); fi;
|
|
|