You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/07/24 13:06:41 UTC

[GitHub] wido commented on a change in pull request #2197: CLOUDSTACK-10012: Embedded Jetty for CloudStack

wido commented on a change in pull request #2197: CLOUDSTACK-10012: Embedded Jetty for CloudStack
URL: https://github.com/apache/cloudstack/pull/2197#discussion_r129028390
 
 

 ##########
 File path: packaging/cloud-management.sh
 ##########
 @@ -0,0 +1,58 @@
+#!/bin/bash
+
+ . /etc/cloudstack/management/tomcat6.conf
+SERVLETENGINE='jetty'
+# For SELinux we need to use 'runuser' not 'su'
+if [ -x "/sbin/runuser" ]; then
+    SU="/sbin/runuser -s /bin/sh"
+else
+    SU="/bin/su -s /bin/sh"
+fi
 
 Review comment:
   You don't seem to use this?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services