Commit c9a8bc6f by Andrej Antas

Fix [Deprecated] The background method is deprecated. Blame badly behaved pseudo-daemons!

parent 66980aee
...@@ -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