login community faq

I'm trying to setup a log rotation cron job. In an older configuration, I had the following lines to restart the mongrel process:

postrotate killall -u <username> mongrel_rails

What's the equivalent command to restart my nginx process?

Thanks

asked Apr 11 '11 at 21:19

THEM's gravatar image

THEM
76


Enter cd ~/webapps/rails_app where rails_app is the name of your Rails application. Enter ./bin/restart and press Enter.

answered Apr 11 '11 at 21:32

johns's gravatar image

johns ♦♦
340427

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×127
×76
×50
×8
×2

Asked: Apr 11 '11 at 21:19

Seen: 1,705 times

Last updated: Apr 11 '11 at 21:32

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited