Skip to content

Instantly share code, notes, and snippets.

@ngyuki
Created September 25, 2012 12:51
Show Gist options
  • Save ngyuki/3781593 to your computer and use it in GitHub Desktop.
Save ngyuki/3781593 to your computer and use it in GitHub Desktop.
redmine:fetch_changesets を実行する post-receive フック
#!/bin/sh
nohup sh -c 'cd /var/lib/redmine;sudo -u nobody rake redmine:fetch_changesets RAILS_ENV=production' 1> /dev/null 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment