Commit e24d82ab authored by Gerrit Hübbers's avatar Gerrit Hübbers 🃏
Browse files

Set up debugging capabilities for staging environment

parent 4cd9d0b5
# this file is used for configuring dda-wizard for startup with SysV init.d.
#
# See http://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html#deployment-script-customization-conf-file
#
# What can you do in this .conf file? The dda-wizard.war is prepended with a SysV init.d script
# (yes, take a look into the war file with a text editor). As dda-wizard.war is symlinked in the init.d directory, this script
# is executed. One of its step is actually `source`ing this .conf file. Therefore we can do anything in this .conf file that
# we can also do in a regular shell script.
JAVA_OPTS="-Dspring.profiles.active=staging"
export SPRING_PROFILES_ACTIVE=prod
# this file is used for configuring dda-wizard for startup with SysV init.d.
#
# See http://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html#deployment-script-customization-conf-file
#
# What can you do in this .conf file? The dda-wizard.war is prepended with a SysV init.d script
# (yes, take a look into the war file with a text editor). As dda-wizard.war is symlinked in the init.d directory, this script
# is executed. One of its step is actually `source`ing this .conf file. Therefore we can do anything in this .conf file that
# we can also do in a regular shell script.
JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,address=localhost:8002,server=y,suspend=n"
export SPRING_PROFILES_ACTIVE=staging
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment