====== System ====== This action allows you to close a session, restart or shutdown the computer. ===== Standard parameters ===== ==== Input parameters ==== == Operation == The operation to perform: * Disconnect: closes the current session * Restart: restarts the computer * Stop: shutdowns the computer == Mode == The mode to use when performing the operation: * Ask: the system should ask for a confirmation * Normal: the system should perform the requested operation but can be stopped by any program asking for user input * Force: the system should perform the requested operation whithout asking the user (all processes will be closed) **Warning**: forcing the system to shutdown or restart can lead to a data loss. Be careful when using this mode. ===== Exceptions ===== * [[en:actions:exceptions#Bad parameter|Bad parameter]] * [[en:actions:exceptions#Code error|Code error]] * [[en:actions:exceptions#timeout|Timeout]] * [[en:actions:actionsystem#not_enough_rights|Not enough rights]] * [[en:actions:actionsystem#not_available|Not available]] ==== Not enough rights ==== This exception is thrown when Actionaz doesn't have enought rights to perform this operation. Restart Actionaz with administrative rights. * Default action: stop the script execution ==== Not available ==== This exception is thrown when the requested operation is not available. This often results of an operating system limitation. * Default action: stop the script execution