appjail-apply
—
Apply a Makejail to an existing jail
appjail apply |
jail [makejail]
[args ...] |
The appjail appply command apply a Makejail to
an existing jail. If makejail is empty the default
⟨Makejail⟩ is used.
appjail apply is just a wrapper for the
-A
parameter in
appjail-makejail(1),
so arguments args are passed to it as is.
The appjail apply
utility exits 0
on success, and >0 if an error occurs. It may fail for one of the
following reasons:
- EX_USAGE:
The command was used incorrectly.
Working
directory for the build stage and the apply stage
- Applying a Makejail is not the same as running it, specifically the
working directory used. Applying a Makejail generates a initscript and the
current directory is used as the working directory, while running a
Makejail, at least for the
build
stage, generates an
sh(1)
script that changes the working directory depending on the
INCLUDE
instruction in a Makejail file.