diff --git a/src/wa/server/plugin/apache/ApacheStatus.java b/src/wa/server/plugin/apache/ApacheStatus.java index 53a87fb..327e746 100755 --- a/src/wa/server/plugin/apache/ApacheStatus.java +++ b/src/wa/server/plugin/apache/ApacheStatus.java @@ -47,12 +47,12 @@ public class ApacheStatus extends WAServiceStatus { @Override public void start() { - os.runCommand("service apache2 start"); + os.exec("service apache2 start"); } @Override public void stop() { - os.runCommand("service apache2 stop"); + os.exec("service apache2 stop"); } @Override