You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/10/08 13:02:24 UTC
svn commit: r1530222 -
/karaf/branches/karaf-2.x/shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/unix/karaf-service
Author: jbonofre
Date: Tue Oct 8 11:02:23 2013
New Revision: 1530222
URL: http://svn.apache.org/r1530222
Log:
[KARAF-2502] Fix the RUN_AS_GROUP variable in the wrapper
Modified:
karaf/branches/karaf-2.x/shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/unix/karaf-service
Modified: karaf/branches/karaf-2.x/shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/unix/karaf-service
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.x/shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/unix/karaf-service?rev=1530222&r1=1530221&r2=1530222&view=diff
==============================================================================
--- karaf/branches/karaf-2.x/shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/unix/karaf-service (original)
+++ karaf/branches/karaf-2.x/shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/unix/karaf-service Tue Oct 8 11:02:23 2013
@@ -315,7 +315,7 @@ checkUser() {
RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
if [ "X$RUN_AS_GROUP" = "X" ]
then
- RUN_AS_GROUP=RUN_AS_USER
+ RUN_AS_GROUP=$RUN_AS_USER
fi
touch $LOCKFILE
chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE