Skip to content

Commit

Permalink
Merge pull request #30 from palantir/bugfix/readme
Browse files Browse the repository at this point in the history
Update readme for console argument in init.sh
  • Loading branch information
markelliot committed Dec 15, 2015
2 parents 91056d1 + 1995645 commit 06e244d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ As part of package creation, this plugin will create two shell scripts:
* `service/bin/[service-name]`: a Gradle default start script for running
the defined `mainClass`
* `service/bin/init.sh`: a shell script to assist with daemonizing a JVM
process. The script takes a single argument of `start`, `stop`, or `status`.
process. The script takes a single argument of `start`, `stop`, `console` or `status`.
- `start`: On calls to `service/bin/init.sh start`,
`service/bin/[serviceName] [args]` will be executed, disowned, and a pid file
recorded in `var/run/[service-name].pid`.
- `console`: like `start`, but does not background the process.
- `status`: returns 0 when `var/run/[service-name].pid` exists and a
process the id recorded in that file with a command matching the expected
start command is found in the process table.
Expand Down

0 comments on commit 06e244d

Please sign in to comment.