Skip to content

Instantly share code, notes, and snippets.

@onesup
Created January 25, 2014 08:12
Show Gist options
  • Save onesup/8613368 to your computer and use it in GitHub Desktop.
Save onesup/8613368 to your computer and use it in GitHub Desktop.
deployer ALL = (ALL:ALL) ALL
deployer ALL=NOPASSWD:/bin/cp /tmp/unicorn_init /etc/init.d/unicorn_rails_example
deployer ALL=NOPASSWD:/etc/init.d/unicorn_rails_example start
deployer ALL=NOPASSWD:/etc/init.d/nginx reload
deployer ALL=NOPASSWD:/bin/ln
deployer ALL=NOPASSWD:/bin/cp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment