Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm working on a server that was configured by a former employee and I need to restart Apache. Unfortunately, it's not the default install and it's in a different place and apachectl doesn't exist and launchctl doesn't even seem to know that this apache is installed or running. I don't want to break anything and was wondering if there was a graceful way of restarting this custom Apache instance in order to update the configuration files to account for new SSL settings.

share|improve this question

1 Answer 1

Assuming you know where Apache is installed, you should be able to gracefully restart it like this:

kill -USR1 `cat <apache_dir>/logs/httpd.pid`

(Untested, but based on the Apache docs).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.