Reputation: 86747
I'd like to execute a apache server restart from within java webapp (restart button or likewise). eg apachectl graceful
How could I do this, if ever?
Upvotes: 1
Views: 1326
Reputation: 5516
You can have the apache server start command in a script and then invoke the script from your Java code.
Upvotes: 1