-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-camunda.sh
More file actions
24 lines (18 loc) · 849 Bytes
/
Copy pathstart-camunda.sh
File metadata and controls
24 lines (18 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
export JBOSS_HOME="$(dirname "$0")/server/wildfly-8.2.1.Final"
BROWSERS="gnome-www-browser x-www-browser firefox chromium chromium-browser google-chrome"
echo "starting camunda BPM 7.6.0 on Wildfly Application Server 8.2.1.Final";
if [ -z "$BROWSER" ]; then
for executable in $BROWSERS; do
BROWSER=`which $executable 2> /dev/null`
if [ -n "$BROWSER" ]; then
break;
fi
done
fi
if [ -z "$BROWSER" ]; then
(sleep 15; echo -e "We are sorry... We tried all we could do but we couldn't locate your default browser... \nIf you want to see our default website please open your browser and insert this URL:\nhttp://localhost:8080/camunda-welcome/index.html";) &
else
(sleep 15; $BROWSER "http://localhost:8080/camunda-welcome/index.html";) &
fi
/bin/sh "$(dirname "$0")/server/wildfly-8.2.1.Final/bin/standalone.sh"