lib/capistrano/tasks/systemd.rake in capistrano-sidekiq-2.0.0.beta3 vs lib/capistrano/tasks/systemd.rake in capistrano-sidekiq-2.0.0.beta4
- old
+ new
@@ -121,10 +121,10 @@
def switch_user(role)
su_user = sidekiq_user
if su_user != role.user
yield
else
- as su_user do
+ backend.as su_user do
yield
end
end
end