pre-stop-script job from os-conf/22.3.0
Github source:
64d1ff6
or
master branch
Properties¶
script
¶
Script that is run during pre-stop to allow additional setup of environment, run as root user.
- Example
-
|- #!/bin/bash apt-get update && apt-get install wget git tmux -y
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/pre-stop-script/
directory
(learn more).
bin/pre-stop
(frompre-stop.sh
)
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.