Commit b727ceec by Karl Kloppenborg Committed by GitHub

Merge pull request #4 from redrick/master

Fix [Deprecated] The background method is deprecated.
parents 66980aee c9a8bc6f
...@@ -80,7 +80,7 @@ namespace :sneakers do ...@@ -80,7 +80,7 @@ namespace :sneakers do
def quiet_sneakers(pid_file) def quiet_sneakers(pid_file)
if fetch(:sneakers_use_signals) || fetch(:sneakers_run_config) if fetch(:sneakers_use_signals) || fetch(:sneakers_run_config)
background :kill, "-USR1 `cat #{pid_file}`" execute :kill, "-USR1 `cat #{pid_file}`"
else else
begin begin
execute :bundle, :exec, :sneakersctl, 'quiet', "#{pid_file}" execute :bundle, :exec, :sneakersctl, 'quiet', "#{pid_file}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment