But don't you need your own artifact anyway to include your custom application bits?
IIRC (and I can't find the code right now), we explicitly *don't* allow for system properties to be used for sling properties in a webapp case since multiple webapps can be deployed into the same container. In any case, servlet containers generally support some mechanism to override the init parameters in the web.xml file via some external file. http://tomcat.apache.org/tomcat-6.0-doc/config/context.html explains how to do this in Tomcat. Regards, Justin On Thu, Jan 12, 2017 at 4:49 AM lancedolan <lance.do...@gmail.com> wrote: > What is the recommended process for setting that runmode on startup? I'm > unzipping the war file, changing a properties file, and rezipping it... > This > means we'd need to maintain this custom deployment artifact for all of our > deployments/provisioning, rather than just using Sling's. There must be a > better way? Perhaps a JVM command line argument I could provide during > startup that would override what's set in sling_install.properties ? > > > > -- > View this message in context: > http://apache-sling.73963.n3.nabble.com/How-to-change-run-mode-in-Sling8-tp4069494p4069523.html > Sent from the Sling - Users mailing list archive at Nabble.com. >