Notice: Google is retiring their OpenID 2.0 authentication service on 20 April 2015. If you are using Google OpenID as your primary means to authenticate on this forum, then please either:

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 11 Apr '11, 21:19

THEM's gravatar image

THEM
738
accept rate: 0%


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

permanent link

answered 11 Apr '11, 21:32

johns's gravatar image

johns ♦♦
4.3k28
accept rate: 23%

Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×168
×98
×67
×12
×2

question asked: 11 Apr '11, 21:19

question was seen: 2,642 times

last updated: 11 Apr '11, 21:32

Features & prices    Sign up    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
© Copyright 2003-2015 Swarma Limited - WebFaction is a service of Swarma Limited