Created
September 25, 2012 12:51
-
-
Save ngyuki/3781593 to your computer and use it in GitHub Desktop.
redmine:fetch_changesets を実行する post-receive フック
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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