You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R1: It shall be possible to define two simple sequences, one for auto-start and one for auto-shutdown, consisting of commands that are executed in order.
R2: The sequences shall be defined in two simple text files called autostart.cfg and autoshutdown.cfg.
R3: The sequences shall be possible to start with two options in a right-click menu. If the corresponding file does not exist a warning shall be given to the user.
R4: When a sequence is started the file should be read every time, making it possible to update the sequence without restarting supervisor.
R5: When an auto-start or auto-shutdown is in progress, manually trying to start/stop processes or hosts or initiating a sequence shall result in a warning and nothing shall happen.
R6: When a sequence has ended successfully the user shall be notified to let him or her know when the GUI is usable again.
Commands
These commands can be implemented by functions that are also used by the manual starting and stopping of processes and hosts, adding the same error-checking advantages to the manual approach.
R7: There shall exist a command to use a command for starting one or several hosts. This command shall not finish before connection with the host(s) local_supervisor has been established. A timeout shall be possible to define and a default timeout shall exist. If the time runs out the startup shall be aborted with a warning to the user. If a host is already running, that shall not be a problem.
R8: There shall exist a command for shutting down one or several hosts. If there is no connection to one or more of the hosts a warning to the user shall be given.
R9: There shall exist a command for starting one or several processes. This command shall not finish before the local_supervisor for every process has reported the process as running. A timeout shall be possible to define and a default timeout shall exist. If the time runs out the startup shall be aborted with a warning to the user. If a process is already running the user should be asked whether he och she wants to restart the process, continue anyway or stop the sequence.
R10: Stopping one or several processes...
R11: Killing one or several processes...
R12: There shall exist a command for adding a user-defined delay. Resolution of one second is enough.
The text was updated successfully, but these errors were encountered:
brydling
changed the title
Add auto-start and auto-shutdown ability
Add auto-start and auto-shutdown capability
Nov 12, 2016
Requirements
General
R1: It shall be possible to define two simple sequences, one for auto-start and one for auto-shutdown, consisting of commands that are executed in order.
R2: The sequences shall be defined in two simple text files called autostart.cfg and autoshutdown.cfg.
R3: The sequences shall be possible to start with two options in a right-click menu. If the corresponding file does not exist a warning shall be given to the user.
R4: When a sequence is started the file should be read every time, making it possible to update the sequence without restarting supervisor.
R5: When an auto-start or auto-shutdown is in progress, manually trying to start/stop processes or hosts or initiating a sequence shall result in a warning and nothing shall happen.
R6: When a sequence has ended successfully the user shall be notified to let him or her know when the GUI is usable again.
Commands
These commands can be implemented by functions that are also used by the manual starting and stopping of processes and hosts, adding the same error-checking advantages to the manual approach.
R7: There shall exist a command to use a command for starting one or several hosts. This command shall not finish before connection with the host(s) local_supervisor has been established. A timeout shall be possible to define and a default timeout shall exist. If the time runs out the startup shall be aborted with a warning to the user. If a host is already running, that shall not be a problem.
R8: There shall exist a command for shutting down one or several hosts. If there is no connection to one or more of the hosts a warning to the user shall be given.
R9: There shall exist a command for starting one or several processes. This command shall not finish before the local_supervisor for every process has reported the process as running. A timeout shall be possible to define and a default timeout shall exist. If the time runs out the startup shall be aborted with a warning to the user. If a process is already running the user should be asked whether he och she wants to restart the process, continue anyway or stop the sequence.
R10: Stopping one or several processes...
R11: Killing one or several processes...
R12: There shall exist a command for adding a user-defined delay. Resolution of one second is enough.
The text was updated successfully, but these errors were encountered: