httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tech Newbie <>
Subject [users@httpd] Starting/Stopping Apache via an API
Date Mon, 19 Sep 2011 18:07:24 GMT
I am aware of the way to start/stop Apache via apachectl, both locally and remotely via SSH.

Is there some generic unix API, perhaps related to /sbin/service, that I can remotely programmatically
start Apache without exec'ing apachectl directly?

I'm thinking since Apache is already configured in /etc/init.d, is there a unix API that my
program can interface with, that say something like:

  // start Apache via some API


Without my program actually exec'ing apachectl directly?
View raw message