post-stop-script job from os-conf/22.3.0
Github source:
64d1ff6
or
master branch
Properties¶
script
¶
Script that is run during post-stop to allow additional setup of environment, run as root user.
- Example
-
|- #!/bin/bash echo "Sleeping for 20 seconds" sleep 20 echo "Done sleeping for 20 seconds"
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/post-stop-script/
directory
(learn more).
bin/post-stop
(frompost-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.