geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r800712 - /geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/gserviceReg.sh
Date Tue, 04 Aug 2009 09:22:49 GMT
Author: xuhaihong
Date: Tue Aug  4 09:22:49 2009
New Revision: 800712

URL: http://svn.apache.org/viewvc?rev=800712&view=rev
Log:
GERONIMO-4622 Contribution: Linux service script for Geronimo/WAS CE (Patch from viola.lu)

Modified:
    geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/gserviceReg.sh

Modified: geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/gserviceReg.sh
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/gserviceReg.sh?rev=800712&r1=800711&r2=800712&view=diff
==============================================================================
--- geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/gserviceReg.sh
(original)
+++ geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/gserviceReg.sh
Tue Aug  4 09:22:49 2009
@@ -234,6 +234,7 @@
    echo "$2:2:respawn:/usr/sbin/$2 start">>/etc/inittab
  fi 
  if $osUbuntu; then    
+   ln -sf /usr/sbin/"$2" /etc/init.d/"$2"
    update-rc.d $2 defaults 99 01   
  fi
 else
@@ -256,7 +257,8 @@
    rm -fr /etc/rc3.d/S99"$2"
  fi
  if $osUbuntu; then    
-   update-rc.d -f $2 remove   
+   update-rc.d -f $2 remove
+   rm -f /etc/init.d/"$2"   
  fi
  rm -f /usr/sbin/$2
  rm -f "$GSERVICE_NAME" 



Mime
View raw message