How can I control Apache using service httpd command from JBoss ON?

Solution Verified - Updated -

Issue

  • How can I control Apache using service httpd command from JBoss ON?
  • Changing "Control script path" to /etc/init.d/httpd for Apache resource, results in:

    Usage: httpd {start|stop|restart|condrestart|try-restart|force-reload|reload|status|fullstatus|graceful|help|configtest}
    
  • Running a custom script to control Apache server from JBoss ON

Environment

  • Red Hat JBoss Operations Network (JON) 3.1.2, 3.2, 3.3
  • Apache server discovered and imported into JBoss ON inventory

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content