System Properties Configuration
System Properties Configuration
This document explains how to declare Java System Properties used for configuring Rundeck.
These properties must be declared on the Java commandline when starting Rundeck.
Executable War
If you are using Executable War to start Rundeck, you would set the properties directly on the commandline, using the -Dpropertyname=value syntax. Add a -D for each property:
java -server -Dserver.servlet.session.timeout=3600 -Dserver.port=8080 -jar rundeck-5.17.0-20251103.war
Properties Reference
server.portThe HTTP port to use for the server, default "4440"server.https.portThe HTTPS port to use or the server, default "4443"server.addressAddress/hostname to listen on, default is "localhost"server.servlet.context-pathWeb context path to use, such as "/rundeck". Default is "/".server.servlet.session.timeoutSession timeout in seconds.rdeck.baseRundeck Basedir to use, default is the directory containing the executable warrundeck.server.logDirThe location where Rundeck will write log filesserver.datastore.pathPath to server datastore dirdefault.user.nameUsername for default user account to createdefault.user.passwordPassword for default user account to createrundeck.jaaslogin"true/false" - if true, enable JAAS login. If false, use the realm.properties file for login information.loginmodule.nameCustom JAAS loginmodule name to useloginmodule.conf.nameName of a custom JAAS config file, located in the server's config dir.rundeck.config.nameName of a custom rundeck config file, located in the server's config dir.rundeck.ssl.configPath to the SSL config properties file to enable SSL. If not set, SSL is not enabled.rundeck.jetty.connector.forwardedtrue/false. Set to true to enable support for "X-forwarded-*" headers which may be sent by a front-end proxy to the rundeck server. See Using an SSL Terminated Proxy.rundeck.jetty.connector.ssl.excludedProtocolsComma-separated list of SSL protocols to disable. Default: 'SSLv3'. See Disabling SSL Protocols.rundeck.jetty.connector.ssl.includedProtocolsComma-separated list of SSL protocols to include. Default is based on available protocols. See Disabling SSL Protocols.rundeck.jetty.connector.ssl.excludedCipherSuitesComma-separated list of Cipher suites to disable. No default. See Disabling SSL Protocols.rundeck.jetty.connector.ssl.includedCipherSuitesComma-separated list of Cipher suites to enable. Default is based on available cipher suites. See Disabling SSL Protocols.rundeck.localExecutor.disabledDisables the local executor plugin to prevent execution of scripts on the local Rundeck Server. values:true|falsedefault isfalselogging.configThe absolute path to your log4j2 configuration file. This is the Spring Boot log file setting and must be set in rpm, deb, and docker environments for the logging system to initialize properlylog4j.configurationFileThe absolute path to your log4j2 configuration file.java.io.tmpdirSpecifies the temporary directory used by plugins, such as Node Sources and Workflow steps.
For more information about using SSL, see Configuring Rundeck for SSL.
RPM and DEB
You should not modify the /etc/rundeck/profile file directly, as it may be overwritten during upgrade, or any changes from the upgrade might not be applied.
Instead, For RPM or DEB installations, you can use environment variables set in a "defaults" file to add additional Java System Properties.
- RPM install:
/etc/sysconfig/rundeckd - DEB install:
/etc/default/rundeckd
Within the rundeckd defaults file, declare a RDECK_JVM_OPTS variable:
RDECK_JVM_OPTS="-Dserver.session.timeout=3600 -Dserver.port=8080"
Environment Variables Defaults
Here is a partial list of environment variables which are set in the /etc/rundeck/profile, and can be overridden in the /etc/sysconfig/rundeckd file for RPM installation or /etc/default/rundeckd file for DEB installation.
(from /etc/rundeck/profile)
RDECK_INSTALL="${RDECK_INSTALL:-/var/lib/rundeck}"
RDECK_BASE="${RDECK_BASE:-/var/lib/rundeck}"
RDECK_CONFIG="${RDECK_CONFIG:-/etc/rundeck}"
RDECK_CONFIG_FILE="${RDECK_CONFIG_FILE:-$RDECK_CONFIG/rundeck-config.properties}"
RDECK_SERVER_BASE="${RDECK_SERVER_BASE:-$RDECK_BASE}"
RDECK_SERVER_CONFIG="${RDECK_SERVER_CONFIG:-$RDECK_CONFIG}"
RDECK_SERVER_DATA="${RDECK_SERVER_DATA:-$RDECK_BASE/data}"
RDECK_PROJECTS="${RDECK_PROJECTS:-$RDECK_BASE/projects}"
RUNDECK_TEMPDIR="${RUNDECK_TEMPDIR:-/tmp/rundeck}"
RUNDECK_WORKDIR="${RUNDECK_TEMPDIR:-$RDECK_BASE/work}"
RUNDECK_LOGDIR="${RUNDECK_LOGDIR:-$RDECK_BASE/logs}"
RDECK_JVM_SETTINGS="${RDECK_JVM_SETTINGS:- -Xmx1024m -Xms256m -server}"
RDECK_TRUSTSTORE_FILE="${RDECK_TRUSTSTORE_FILE:-$RDECK_CONFIG/ssl/truststore}"
RDECK_TRUSTSTORE_TYPE="${RDECK_TRUSTSTORE_TYPE:-jks}"
JAAS_LOGIN="${JAAS_LOGIN:-true}"
JAAS_CONF="${JAAS_CONF:-$RDECK_CONFIG/jaas-loginmodule.conf}"
LOGIN_MODULE="${LOGIN_MODULE:-RDpropertyfilelogin}"
RDECK_HTTP_PORT=${RDECK_HTTP_PORT:-4440}
RDECK_HTTPS_PORT=${RDECK_HTTPS_PORT:-4443}
DISABLED_LOCAL_EXECUTOR=false