summarylogtreecommitdiffstats
path: root/wildfly.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wildfly.sh')
-rwxr-xr-xwildfly.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/wildfly.sh b/wildfly.sh
new file mode 100755
index 000000000000..a225e378fb54
--- /dev/null
+++ b/wildfly.sh
@@ -0,0 +1,21 @@
+# Location of WildFly
+export JBOSS_HOME=/opt/wildfly
+
+# Application server mode (standalone/domain)
+export JBOSS_MODE=standalone
+
+# Configuration for standalone mode
+export JBOSS_CONFIG=standalone.xml
+
+# Configuration for domain mode
+export JBOSS_DOMAIN_CONFIG=domain.xml
+export JBOSS_HOST_CONFIG=host-master.xml
+
+# The username who should own the process.
+export JBOSS_USER=wildfly
+
+# PID file
+export JBOSS_PIDFILE=/run/wildfly/wildfly.pid
+
+# Location to keep the console log
+export JBOSS_CONSOLE_LOG=/var/log/wildfly/console.log