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”.
For example a script shell that reboot the computer when the server is running :
#/bin/sh
shutdown -r now
Back to top