Fulltext results:
- base-repo-get-value @z:relax:api:base
- ====== base-repo-get-value ====== Loads a service configuration from the repository and outputs a single value (for the given key) to STDOUT. ===== Usage ===== base-repo-get-value SERVICE KEY * ''SERVICE'': A key of a servic... in the repository. * ''KEY'': The key for the value in the service definition to output. ===== Ret
- base-ssh-login @z:relax:api:base
- is can be used to open a remote sesssion, but ususally it's used by other methods (especially [[base-exec-user]]) to remotely execute a command. ===== Us... n in the repository. * ''REMOTE_HOST'' (optional): If ''REMOTE_HOST'' is not defined, ''HOST_REF'' must be present. * ''REMOTE_USER'' (optional): The user execute the command remotely. If not p
- base-exec-user @z:relax:api:base
- nd is executed using ssh if the user is not on localhost. ===== Usage ===== base-exec-user USER CO... n in the repository. * ''REMOTE_HOST'' (optional): If ''REMOTE_HOST'' is not defined, ''HOST_REF'' must be present. * ''REMOTE_USER'' (optional): The user execute the command remotely. If not present, same as local user will be taken. * ''COMMAND'': A command to
- base-repo-get-service @z:relax:api:base
- ===== Returns the service definition. This is usually evaluated in a shell script by the ''eval'' command. ===== Example ===== <code bash> # # get service con... or service '${service}'" >&2 exit 1 fi _debug "*** config: ${config} ***" # eval ${config} # </code>
- base-exec-superuser @z:relax:api:base
- nd is executed using ssh if the user is not on localhost. Before executing the command, the privileges... be ''pfexec'', ''su'' or ''sudo''. * Additionally, the [[base-exec-user#usage|properties of base-... command to be executed. It is executed either locally or remote using base-ssh-login. ===== Returns