So I have come up with a solution. I added the following line to my git users crontab and it has the git-proxy up and running without a hitch on reboot.
* * * * * cd /var/www/gitorious && env RAILS_ENV=production bundle exec script/git-proxy 2>&1 >/dev/null I just wanted to follow up on my post in case anybody else runs across this issue in the future. -Austin On Thursday, August 16, 2012 2:52:05 PM UTC-6, Austin Montgomery wrote: > > Hello Group, > > I have a self hosted version of Gitorious running on ubuntu 12.04. > Everything is humming right along but I am looking for tips on getting the > git-proxy script to run on startup. > > Things work perfectly if sudo to my 'git' user cd into my > gitorious directory located at /var/www/gitorious and then run the command > "env RAILS_ENV=production bundle exec script/git-proxy&" The proxy starts > right up and works great, so I'm looking for tips on the best way to run > the proxy script on startup. > > Just to give this post some color I'm a SCM guy that has recently moved > over from a .NET shop to a linux/mac shop. I know my way around linux but > I'm pretty new to Ubuntu. > > Before I write a little script to run in /etc/init.d I wanted to see of > you guys had any better solutions on how to insure the git-proxy script > runs reliably when the box is rebooted. > > Any advice is greatly appreciated. > > Thanks, > Austin > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
