[jbossnative-commits] JBoss Native SVN: r1048 - in trunk/sight/java/org/jboss/sight: platform/linux and 1 other directory.

jbossnative-commits at lists.jboss.org jbossnative-commits at lists.jboss.org
Thu Sep 27 02:36:38 EDT 2007


Author: mladen.turk at jboss.com
Date: 2007-09-27 02:36:38 -0400 (Thu, 27 Sep 2007)
New Revision: 1048

Modified:
   trunk/sight/java/org/jboss/sight/Service.java
   trunk/sight/java/org/jboss/sight/platform/linux/Services.properties
Log:
Add sysnonim for service script names

Modified: trunk/sight/java/org/jboss/sight/Service.java
===================================================================
--- trunk/sight/java/org/jboss/sight/Service.java	2007-09-26 17:04:09 UTC (rev 1047)
+++ trunk/sight/java/org/jboss/sight/Service.java	2007-09-27 06:36:38 UTC (rev 1048)
@@ -80,9 +80,10 @@
                 }
             }
         }
-        if (OS.IS_LINUX || OS.IS_SOLARIS) {            
-            service.DisplayName = serviceProperties.getProperty(service.Name + ".0", service.DisplayName);
-            service.Description = serviceProperties.getProperty(service.Name + ".1");
+        if (OS.IS_LINUX || OS.IS_SOLARIS) {
+            String pserviceName = serviceProperties.getProperty(service.Name + ".2", service.Name);
+            service.DisplayName = serviceProperties.getProperty(pserviceName + ".0", service.DisplayName);
+            service.Description = serviceProperties.getProperty(pserviceName + ".1");
         }
     }
 

Modified: trunk/sight/java/org/jboss/sight/platform/linux/Services.properties
===================================================================
--- trunk/sight/java/org/jboss/sight/platform/linux/Services.properties	2007-09-26 17:04:09 UTC (rev 1047)
+++ trunk/sight/java/org/jboss/sight/platform/linux/Services.properties	2007-09-27 06:36:38 UTC (rev 1048)
@@ -30,6 +30,9 @@
 anacron.0=Actions scheduler
 anacron.1=Run cron jobs that were left out due to downtime
 
+apmd.0=Advanced Power Management
+apmd.1=Start or stop the Advanced Power Management daemon.
+
 atd.0=Actions scheduler
 atd.1=Runs commands scheduled by the at command at the time \
       specified when at was run, and runs batch commands when the load \
@@ -161,6 +164,9 @@
         loading a kdump kernel into memory at system bootup time, \
         and for copying away a vmcore at system panic time.
 
+klogd.0=Kernel log daemon
+klogd.1=Start the kernel log daemon
+
 kudzu.0=Kudzu hardware probe
 kudzu.1=This runs the hardware probe, and optionally configures \
         changed hardware.
@@ -250,6 +256,11 @@
 rdisc.0=Rdisc daemon
 rdisc.1=This is a daemon which discovers routers on the local subnet.
 
+readahead.0=Prereads programs required for startup into memory
+readahead.1=This service causes the programs used during startup \
+            to be loaded into memory before they are needed, \
+            thus improving startup performance.
+
 readahead_early.0=Prereads programs required for startup into memory
 readahead_early.1=This service causes the programs used during startup \
                   to be loaded into memory before they are needed, \




More information about the jbossnative-commits mailing list