From 28b8a010e498b83d830960f6d65d9879b6be13fe Mon Sep 17 00:00:00 2001 From: MATSUU Takuto Date: Sat, 3 Oct 2015 08:29:16 +0900 Subject: [PATCH] fix kill command path --- gcp/bench/files/systemd.ruby.service | 2 +- gcp/eventapp/files/systemd.ruby.service | 2 +- gcp/image/files/systemd.ruby.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcp/bench/files/systemd.ruby.service b/gcp/bench/files/systemd.ruby.service index bd85d53..3151b1f 100644 --- a/gcp/bench/files/systemd.ruby.service +++ b/gcp/bench/files/systemd.ruby.service @@ -8,7 +8,7 @@ EnvironmentFile=/home/isucon/env.bench.sh User=isucon ExecStart=/home/isucon/.local/ruby/bin/bundle exec ruby ./agent.rb -ExecStop=/usr/bin/kill -QUIT $MAINPID +ExecStop=/bin/kill -QUIT $MAINPID [Install] WantedBy=multi-user.target diff --git a/gcp/eventapp/files/systemd.ruby.service b/gcp/eventapp/files/systemd.ruby.service index 197c06a..5d710f3 100644 --- a/gcp/eventapp/files/systemd.ruby.service +++ b/gcp/eventapp/files/systemd.ruby.service @@ -8,7 +8,7 @@ EnvironmentFile=/home/isucon/env.bench.sh User=isucon ExecStart=/home/isucon/.local/ruby/bin/bundle exec foreman start -ExecStop=/usr/bin/kill -QUIT $MAINPID +ExecStop=/bin/kill -QUIT $MAINPID [Install] WantedBy=multi-user.target diff --git a/gcp/image/files/systemd.ruby.service b/gcp/image/files/systemd.ruby.service index 792d56b..17b599e 100644 --- a/gcp/image/files/systemd.ruby.service +++ b/gcp/image/files/systemd.ruby.service @@ -9,7 +9,7 @@ Environment=RACK_ENV=production PIDFile=/home/isucon/webapp/ruby/unicorn.pid ExecStart=/home/isucon/.local/ruby/bin/bundle exec unicorn -c unicorn_config.rb -p 8080 -ExecStop=/usr/bin/kill -QUIT $MAINPID +ExecStop=/bin/kill -QUIT $MAINPID ExecReload=/bin/kill -USR2 $MAINPID [Install]