Class ServiceControl

java.lang.Object
javaforce.linux.ServiceControl

public class ServiceControl extends Object
  • Constructor Details

    • ServiceControl

      public ServiceControl()
  • Method Details

    • start

      public static boolean start(String name)
    • stop

      public static boolean stop(String name)
    • restart

      public static boolean restart(String name)
    • enable

      public static boolean enable(String name)
    • disable

      public static boolean disable(String name)
    • isEnabled

      public static boolean isEnabled(String name)
    • isActive

      public static boolean isActive(String name)
    • getStates

      public static String[] getStates(String name)
      return = [name, enabled, active]