What's an exec ?

  • An exec is the last way (until then) to create a specific action on the server.
  • An exec is simply an executable binary (or script, it only has to be executable).
  • Each exec is located in the “server/exec” directory.
  • An exec is generally used to perform actions that can be made in ruby.
  • The server can notify the client on error code returned by the exec with the option ”—-verbose”. For example “exec —-verbose reboot”.

How to create one

For example a script shell that reboot the computer when the server is running :

#/bin/sh

shutdown -r now
exec.txt · Last modified: 2009/06/21 00:27 (external edit)
Back to top
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0