capistrano_evrone_recipes 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ namespace :runit do
|
|
8
8
|
|
9
9
|
desc "Restart Procfile services"
|
10
10
|
task :restart, :roles => :worker, :on_no_matching_servers => :continue, :except => { :no_release => true } do
|
11
|
-
current_link = capture("readlink #{runit_services_path}/current").to_s.strip
|
11
|
+
current_link = capture("readlink #{runit_services_path}/current || echo").to_s.strip
|
12
12
|
if current_link == runit_export_path
|
13
13
|
stop
|
14
14
|
start
|