Re: [users@httpd] Starting/Stopping Apache via an API

2011-09-21 Thread Tech Newbie
ogrammatically start/stop the specified service, preferably via an API instead of exec'ing a shell script. That's why I was wondering if  /sbin/service has a companion API. From: Jeff Dyke To: users@httpd.apache.org; Tech Newbie Sent: Monday, Septembe

[users@httpd] Starting/Stopping Apache via an API

2011-09-19 Thread Tech Newbie
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