Skip to content

Commit

Permalink
Merge pull request #4 from matsuu/fix-kill-command-path
Browse files Browse the repository at this point in the history
fix kill command path
  • Loading branch information
tagomoris committed Oct 3, 2015
2 parents de6d868 + 28b8a01 commit ba895cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gcp/bench/files/systemd.ruby.service
Expand Up @@ -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
2 changes: 1 addition & 1 deletion gcp/eventapp/files/systemd.ruby.service
Expand Up @@ -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
2 changes: 1 addition & 1 deletion gcp/image/files/systemd.ruby.service
Expand Up @@ -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]
Expand Down

0 comments on commit ba895cb

Please sign in to comment.