service job from test/1
This job runs pre-start, monitored service and drain without any packages.
Github source:
de8af5a4
or
master branch
Properties¶
service
¶
drain
¶
delay_secs
¶Number of seconds to delay before exiting
- Default
0
echoed_status
¶Drain script specific status code
- Default
0
exit_code
¶Exit code to return
- Default
0
stderr
¶Content to send to stderr
- Default
stderr
pre_start
¶
delay_secs
¶Number of seconds to delay before exiting
- Default
0
exit_code
¶Exit code to return
- Default
0
stderr
¶Content to send to stderr
- Default
stderr
stdout
¶Content to send to stdout
- Default
stdout
start
¶
delay_secs
¶Number of seconds to delay before starting service
- Default
0
success
¶Whether monitored service should start successfully
- Default
true
stop
¶
delay_secs
¶Number of seconds to delay before stopping service
- Default
0
success
¶Whether monitored service should stop successfully
- Default
true
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/service/
directory
(learn more).
bin/ctl
(fromctl.sh
)bin/drain
(fromdrain.sh
)bin/pre-start
(frompre_start.sh
)config/config.json
(fromconfig.json
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.
This job relies on no runtime packages.