I do the same. I configured sudo so the deployment user can access it.

I have this in my sudoers file:

    deploy ALL=(ALL) NOPASSWD: SETENV: /usr/sbin/service god *, 
/usr/local/bin/god

This allows my deploy user to do things like `sudo service god restart` or 
`sudo /usr/local/bin/god status`.


On Friday, March 13, 2015 at 9:02:13 AM UTC-6, Chiel Kunkels wrote:
>
> Hi all,
>
> I have an instance of god running as root, but our deployment user 
> (deploy) is then unable to access the instance and load changed scripts 
> into it upon deploying a project.
>
> Is there a way to load scripts into god from a different user, even though 
> it was started as root?
>
> Cheers,
> Chiel
>

-- 
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/god-rb.
For more options, visit https://groups.google.com/d/optout.

Reply via email to