lib/capistrano/tasks/foreman.rake in capistrano-foreman-systemd-0.0.6 vs lib/capistrano/tasks/foreman.rake in capistrano-foreman-systemd-0.0.7

- old
+ new

@@ -73,10 +73,10 @@ end desc "Restart the application services" task :restart do on roles fetch(:foreman_roles) do - sudo :restart, "start #{fetch(:foreman_app)}.target" + sudo :systemctl, "restart #{fetch(:foreman_app)}.target" end end end