FC6 service command and nginx
I am on FC6. Initially I used yum to install nginx. It works fine except that it picked up an older version. I wanted the latest version, so I compiled it with the latest nginx source. By default, it installs nginx in /usr/local/nginx. Unfortunately, I can't start nginx with the service command, I have to start it by typing out the whole path to the nginx executable, /usr/local/nginx/sbin/nginx. When I used yum, I could use the service command to start nginx. Is there a way for me to install nginx so that I can use the service command? I am guessing that yum puts the exes in a common location so that service can pick it up but I can't find where that location is.