Skip to content

Instantly share code, notes, and snippets.

@othree
Last active March 19, 2016 14:29
Show Gist options
  • Select an option

  • Save othree/adb6f2a0d6f9b43aeb6a to your computer and use it in GitHub Desktop.

Select an option

Save othree/adb6f2a0d6f9b43aeb6a to your computer and use it in GitHub Desktop.
setfacl -m u:http:rw $SSH_AUTH_SOCK
setfacl -m u:http:x $(dirname $SSH_AUTH_SOCK)
sudo -u http -s /bin/sh -c "env SSH_AUTH_SOCK=$SSH_AUTH_SOCK git pull"
@othree

othree commented Mar 19, 2016

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment