• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net ยป co
Trace:

co
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Search

You can find the results of your search below.

Contains
  • Exact match
  • Starts with
  • Ends with
  • Contains
@z:relax
  • Any namespace
  • z:relax:api (8)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Fulltext results:

base-repo-get-service @z:relax:api:base
10 Hits, Last modified: 13 years ago
=== base-repo-get-service ====== Loads a service configuration from the repository and outputs it to ... ually evaluated in a shell script by the ''eval'' command. ===== Example ===== <code bash> # # get service config config=$(base-repo-get-service ${service}) if [ $? != 0 ]; then echo
base-exec-superuser @z:relax:api:base
8 Hits, Last modified: 13 years ago
====== base-exec-superuser ====== Executes a command as a given user. Command is executed using ssh if the user is not on localhost. Before executing the command, the privileges will be elevated. This privi... hod is defined by $RIGHT_ELEVATION in the service configuration and can be either ''pfexec'', ''su'' o
base-exec-user @z:relax:api:base
7 Hits, Last modified: 13 years ago
====== base-exec-user ====== Executes a command as a given user. Command is executed using ssh if the user is not on localhost. ===== Usage ===== base-exec-user USER COMMAND * ''USER'': A key of an user definition i... ''REMOTE_USER'' (optional): The user execute the command remotely. If not present, same as local user
base-ssh-login @z:relax:api:base
6 Hits, Last modified: 13 years ago
ecially [[base-exec-user]]) to remotely execute a command. ===== Usage ===== base-ssh-login SERVICE [ COMMAND ] * ''SERVICE'': a key of an user or host... ''REMOTE_USER'' (optional): The user execute the command remotely. If not present, same as local user will be taken. * ''COMMAND'': a command to be executed. If not present,
base-net-load-url @z:relax:api:base
5 Hits, Last modified: 13 years ago
he URL to load. ===== Returns ===== Returns the contents of the resource referenced by the URL. ===== Examples ===== <code bash> base-net-load-url "${service_url}" </code> <code bash> PASSWORD=$(base-net-load-url ${PASSWORD_URL}) </code>
host-user-list @z:relax:api:host
3 Hits, Last modified: 13 years ago
pository. ===== Returns ===== Returns the first colum (login) of the ''/etc/passwd'' file. ===== Example ===== <code bash> users=$(host-user-list "${host}" \ | egrep -v "${IGNORED_USERS}" ) </code>
base-repo-get-value @z:relax:api:base
3 Hits, Last modified: 13 years ago
===== base-repo-get-value ====== Loads a service configuration from the repository and outputs a sing... in the service definition. ===== Example ===== <code bash> # # service must be a zone (have $ZONE se... E)" ]; then echo "CRITICAL: service '${service}' is no zone (ZONE not set)" >&2 exit 1 fi # </code>
ReLAX
2 Hits, Last modified: 13 years ago
* [[http://bitbucket.org/andunix/relax/|Source Code]] ([[http://bitbucket.org/andunix/relax/src/|browse source code]]) ===== Blog Entries ===== * **2009-11-27**
host-user-tab @z:relax:api:host
2 Hits, Last modified: 13 years ago
-tab ====== Lists the users on a given host as a colon separated table. ===== Usage ===== host-us... definition in the repository. ===== Returns ===== Returns the contents of the ''/etc/passwd'' file.

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
CC Attribution 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki