Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Enable Support for Shared Deployment Environment #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rjkaes
Copy link

@rjkaes rjkaes commented Oct 31, 2014

Allow sudo to stop resque worker instances. In an environment where
multiple people can deploy, sudo is required to allow the deployment
to kill the previous instances.

By default sudo is not used. Enable with:

set :enable_shared_users, true

Replaced the stop_command with Ruby code. The shell code using sudo would hang on the kill -0 test.

Allow `sudo` to stop resque worker instances.  In an environment where
multiple people can deploy, `sudo` is required to allow the deployment
to kill the previous instances.

By default `sudo` is not used.  Enable with:

    set :enable_shared_users, true
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant