appjail-sysrc
—
Safely edit system rc files within a jail
appjail sysrc |
all [-e ]
target [args ...] |
appjail sysrc |
jail jail
[args ...] |
appjail sysrc |
local jail
[args ...] |
The appjail sysrc utility is a wrapper of the
sysrc(8)
command for managing rc files, i.e. retrieve
rc.conf(5)
variables and allows processes to change values in a safe and effective
manner.
all
is used to run
sysrc(8)
in all existing jails. If -e
is specified,
appjail sysrc exits when
sysrc(8)
returns a non-zero exit status. target is any of the
subcommands described below.
jail
is used to run
sysrc(8)
in a given jail.
local
is used to run
sysrc(8)
in the jail directory from the host.
The appjail sysrc
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.
- EX_DATAERR:
- jail is invalid.
- An invalid subcommand was specified.
- EX_NOINPUT:
jail cannot be found.