[
{ type: install
  message: <<EOM
Jetty is now installed in %%APP_HOME%%

From Jetty 9, the way to configure it has changed. You are **strongly**
advised to read the documentation found here:

http://www.eclipse.org/jetty/documentation/current/

Please pay particular attention to HOME and BASE documentation, i.e.,:

http://www.eclipse.org/jetty/documentation/current/startup-base-and-home.html

You may want to activate it in /etc/rc.conf:

    # sysrc %%APP_NAME%%_enable="YES"

A sample configuration file can be found here:

    %%ETCDIR%%/%%APP_NAME%%.sample

Please modify it to suit your needs, paying particular attention
to the value of JETTY_HOME and JETTY_BASE.

Once you are happy with the configuration file, you can start Jetty:

    # service %%APP_NAME%% start

== ADVANCED USAGE ==

If you need to pass special options to Java/Jetty, please set the appropriate
variables in the configuration file, e.g.,

  # Increase memory limit of the Java virtual machine

  JAVA_OPTIONS="-Xms32m -Xmx256m"

  # Run Java with remote debugging turned on on port 8186

  JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8186"

More configuration options are presented in the sample file.
EOM
}
{ type: remove
  message: <<EOM
If, when, Jetty is removed, you can safely delete this directory:

    %%WWWDIR%%
EOM
}
]
