Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
APPJAIL-RUN(1)		     General Commands Manual		  APPJAIL-RUN(1)

NAME
     appjail-run -- Run user-defined stages

SYNOPSIS
     appjail run [-i initscript] [[-p parameter=value] ...] [[-V name=value]
	     ...] [-s name] jail

DESCRIPTION
     The  appjail  run	utility runs user-defined stages, that is, the cmd stage
     and any other custom stages.

     The options are as follows:

     -i initscript
	  Pathname to the InitScript.  If no InitScript  is  provided  from  the
	  command-line,  it will be obtained via appjail-enabled(1).  If not de-
	  fined there, the InitScript located in the root directory of the  jail
	  is used if it exists and has the execute bit permission.

     -I   Avoid  running  the  InitScript.   appjail-enable(1)	and appjail-dis-
	  able(1) affects this parameter when it  is  not  specified  explicitly
	  from the command-line.

     -p parameter=value ...
	  Parameters  for  pre-, post- and cmd functions passed with syntax such
	  as parameter1=value1 , parameter2=value2 ,  ...,  parameterN=valueN  .
	  If  no parameters are provided from the command-line, they will be ob-
	  tained via appjail-enabled(1).

     -V name=value
	  Environment variables. Environment variables	are  defined  internally
	  with	a  syntax  such as __APPJAIL_RUN_ENVIRONMENT_VAR__<name>=<value>
	  and	 validated    with    a    regular    expression     such     as
	  ^__APPJAIL_RUN_ENVIRONMENT_VAR__[a-zA-Z_][a-zA-Z0-9_]*(=.*)?$ .

     -s name
	  By  default,	the  cmd stage is executed; this parameter runs name in-
	  stead.

EXIT STATUS
     The appjail run 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:
	 *   An invalid environment variable was specified.
	 *   jail is invalid.
     -	 EX_NOINPUT: jail cannot be found.

SEE ALSO
     appjail-disable(1)  appjail-enable(1)  appjail-enabled(1)	sysexits(3) app-
     jail-initscript(5)

AUTHORS
     JesAos Daniel Colmenares Oviedo <DtxdF@disroot.org>

FreeBSD ports 15.quarterly	 March 27, 2024 		  APPJAIL-RUN(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=appjail-run&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help