Commit Graph

50 Commits

Author SHA1 Message Date
Andy Wilkinson 77f1da871f Add a second, portal-compatible ID to the Gradle plugin
To be compatible with Gradle's plugin portal, plugins must have an
ID that uses a reverse domain name. This means that spring-boot is
not compatible.

This commit introduces a new ID, org.springframework.boot, and
deprecates the old ID.

Closes gh-6997
2016-10-05 14:54:23 +01:00
Stephane Nicoll b69fd9229d Merge branch '1.3.x' 2016-09-18 17:12:39 +02:00
Stephane Nicoll 04b261984e Polish 2016-09-18 17:12:21 +02:00
Andy Wilkinson 8c106af384 Allow default value for CONF_FOLDER to be set at build time
Closes gh-6549
2016-08-11 20:25:59 +01:00
Andy Wilkinson 2e5d189299 Merge branch '1.3.x' 2016-07-20 07:05:54 +01:00
Andy Wilkinson 197f67c867 Correct OpenShift instructions to use action_hooks not action_scripts
Closes gh-6419
2016-07-20 07:05:38 +01:00
Phillip Webb 34893eee9d Refine service documentation
See gh-5505
2016-07-17 11:58:19 -07:00
Stephane Nicoll 1f3d9235a8 Fix typo 2016-07-16 18:20:32 +02:00
Phillip Webb db287782a2 Remove duplicate documentation bookmark
See gh-5505
2016-07-15 16:29:33 -07:00
Phillip Webb a1345e17f1 Improve "fully executable jars" documentation
Closes gh-5505
2016-07-15 15:32:13 -07:00
Stephane Nicoll 6698af08df Replace Starter POM to Starter in the documentation
"Starter POM" is a confusing term as it implies the starter may be a
POM while it's actually a jar artifact like any other dependency. To
reduce the confusion (especially in the way such starter should be
declared in the build), the term Starter POM has been renamed to Starter.

Closes gh-5966
2016-05-18 08:55:42 +02:00
Stephane Nicoll c3e8cc2150 Merge branch '1.3.x' 2016-05-02 14:18:59 +02:00
Stephane Nicoll 42af5ebc2c Fix class name
Closes gh-5823
2016-05-02 14:17:48 +02:00
Andy Wilkinson e748c5e6a0 Merge branch '1.3.x' 2016-04-20 17:47:45 +01:00
Andy Wilkinson 125483e7aa Add a note in the docs that default launch script only works on Linux
Closes gh-5446
2016-04-20 17:46:36 +01:00
Phillip Webb 29900b48ea Polish docs 2016-04-12 21:23:22 -07:00
Stephane Nicoll d93b09f497 Polish contribution
Closes gh-5204
2016-02-29 11:42:27 +01:00
Uwe Schaefer 9c3003071b Add CONF_FOLDER property
Closes gh-5203
2016-02-29 11:36:59 +01:00
Andy Wilkinson af32d6e8ee Allow LOG_FOLDER and PID_FOLDER defaults to be set at build time
This commit enhances the default launch script to allow the default
values for LOG_FOLDER and PID_FOLDER to be set at build time. They
can now be set using the logFolder and pidFolder properties
respectively.

Closes gh-4787
2016-02-25 12:25:41 +00:00
Andy Wilkinson a6b1f4ce63 Add a note about a fully executable jar's working directory
Closes gh-5164
2016-02-24 10:30:41 +00:00
Vedran Pavic 93de0d7dc0 Improve systemd service documentation
Closes gh-5041
2016-01-28 11:31:28 +01:00
Andy Wilkinson 854cacdb4f Fix useStartStopDaemon in launch script and allow config via conf file
Commit 5a1ee6eb added support for disabling use of start-stop-daemon
via a placeholder in the default launch script. Unfortunately, that
placeholder was subsequently broken in 81a47639.

This commit reinstates the placeholder and adds tests to verify that all
of the placeholders in the launch script can be replaced and that they
have the required default values. Furthermore, it also allows the use of
start-stop-daemon to be configured via USE_START_STOP_DAEMON in an
app’s .conf file. This allows the configuration to be changed after the
app has been built.

Closes gh-4985
2016-01-21 14:58:51 +00:00
Andy Wilkinson d1b3522227 Provide some guidlines on securing an app that's symlinked into init.d
Closes gh-4935
2016-01-15 15:36:42 +00:00
Phillip Webb 5a1ee6ebe8 Allow easy opt-out of using start-stop-daemon
Allow users to easily opt-opt of using the start-stop-daemon in the
launch script. This may be required on distros that include older
versions.

Fixes gh-4732
2015-12-15 20:37:43 +00:00
Johnny Lim ec7fed1ecc Polish
Closes gh-4677
2015-12-07 20:46:36 +01:00
Andy Wilkinson c003efc666 Document new initInfoChkconfig property supported by launch.script
See gh-4564
2015-12-02 10:21:33 +00:00
Johnny Lim 8ec00c35bf Polish
Closes gh-4572
2015-11-21 08:12:21 +01:00
Johnny Lim c87370085b Polish 2015-11-10 12:15:27 -08:00
Vedran Pavic 718ea5f78b Update systemd service documentation
- update script with valid exit status to ensure service stops cleanly
- clarify unused customization variables

Closes gh-4334
2015-10-30 16:04:03 +00:00
Axel Fontaine d25b7ca46b Add documentation for Boxfuse and Amazon Web Services deployment 2015-10-27 14:42:08 +00:00
Vedran Pavic 59d2ae598b Update documentation to clarify systemd service user
Closes gh-4293
2015-10-26 10:57:45 +00:00
Stephane Nicoll 9d9538e558 Fix section of Windows service section
As the Windows service support is not related at all to the executable
jar support it needs to be in a separate location.
2015-10-23 17:22:56 +02:00
Phillip Webb a7a2aa0461 Add "INIT INFO" property substitutions
Update the "INIT INFO section" of `launch.script` to include
`initInfoProvides`, `initInfoShortDescription` and `initInfoDescription`
property substitutions.

The Maven plugin has been updated to populate substitutions with
`${project.artifactId}`, `${project.name}` and `${project.description}`.

Fixes gh-4245
2015-10-20 17:48:22 -07:00
Tommy Ludwig e4230e61d7 Make the name of the log file produced by launch script configurable
Previously, the launch script would always use a file named
<appname>.log to capture the application's console output. This commit
adds a variable, LOG_FILENAME, for specifying the file name defaulting
to <appname>.log.

Fixes gh-4194
2015-10-19 11:38:22 +01:00
Stephane Nicoll ce544e8131 Add a reference to Windows service sample
Closes gh-3829
2015-10-09 16:37:58 +02:00
Andy Wilkinson bee7d24c1a Provide an example of using a .conf file with a truly executable jar
Closes gh-3522
2015-10-05 14:14:51 +01:00
Andy Wilkinson 2440e05cc4 Document startup script's support for JAVA_OPTS
Closes gh-3808
2015-09-29 13:58:37 +01:00
Dave Syer ff681adc5b Fix launch.script to not exit prematurely
Use "return" instead of "exit" where possible, especially in
function definitions.

Also fixed the exit codes to match the LSB spec for some specific
conditions (fixes gh-3521).

Fixes gh-3199, fixes gh-3535
2015-08-26 17:54:20 +01:00
izeye f4589e7cc3 Fix typos
Closes gh-3504
2015-07-15 15:45:02 +02:00
izeye 8c9f7247d9 Fix deployment title section
Closes gh-3429
2015-07-07 04:53:21 +02:00
Ralph Schaer f5830bf46e Fix type in deployment documentation
Replace use of `link -s` with `ln -s`.

Fixes gh-3320
2015-06-24 20:39:43 -07:00
Phillip Webb c417e90215 Update executable jar documentation
See gh-3243
2015-06-18 23:11:12 -07:00
Phillip Webb e687c9456f Fix documentation bookmarks 2015-06-10 23:32:30 -07:00
Phillip Webb 316b07d3b9 Change the embedded script default to disabled
Update the Maven and Gradle repackage tasks so that the embedded
startup script is no longer included by default. This change is
primarily due to the `cf` command line not currently accepting
the unusual jar format.

Fixes gh-3045
2015-06-04 21:59:27 -07:00
Phillip Webb 312471f996 Polish documentation 2015-06-04 01:09:59 -07:00
Stephane Nicoll b26a650f5b Merge branch '1.2.x' 2015-05-20 10:59:07 +02:00
Dave Syer b24e736cfe Add env var parameters to launch.script
Some of the features of the launch.script were not exposed for users
to be able to control at runtime. It now accepts things like
PID_FOLDER and LOG_FOLDER as environment variables, and also adopts
a clear naming convention where only the inputs are UPPER_CASE.
2015-05-12 10:23:44 +01:00
Andy Wilkinson 8d52893b04 Merge branch '1.2.x' 2015-04-21 15:20:08 +01:00
Stephane Nicoll 7a4e246f08 Fix typo 2015-04-12 10:55:00 +02:00
Phillip Webb ed57adb5fe Update deployment documentation
Change the "cloud deployment" section to cover general "deployment" and
add documentation for init.d and systemd support.

Closes gh-1117
2015-04-09 10:57:40 -07:00