... | ... | @@ -66,8 +66,8 @@ The |
|
|
},
|
|
|
"services": { [OPTIONAL, sub-dictionary, containing the services of this software package]
|
|
|
"rtissoftware1service": { [string, The name of the service in the backend. Also used as service name!]
|
|
|
"workingdirectory": "Python", [OPTIONAL, string, the sub-folder containing the script to launch as service]
|
|
|
"type": "python", [string, the type of service command. if set to 'python' it automatically creates the launching of a Python script set in the 'command'. If not it just runs the 'command' as is]
|
|
|
"workingdirectory": "Python", [OPTIONAL, string, the sub-folder containing the script to launch as service. If not set the working directory will be only the install-folder level]
|
|
|
"type": "python", [string, the type of service command. if set to 'python' it automatically creates the launching of a Python script set in the 'command' and adds the install (and optionally working directory) to the start of the script to open. If set to 'script' it will just add the adds the install (and optionally working directory) to the start of the script to open. If not one of those, it just runs the 'command' as is]
|
|
|
"command": "RTISSoftware1.py", [string, the command to run. If 'type' is set to 'python' this should be the name of the Python script to launch]
|
|
|
"restart": 1, [integer, if set to 1 or higher it will be installed as an automatic-restart service. On linux the value will be used as the restart timer. If 0, it will act as a one-shot service for example used on boot-up]
|
|
|
"enabled": 0, [0 or 1, if set to 1 it will be enabled automatically. If set to 0 it will be disabled]
|
... | ... | @@ -395,6 +395,7 @@ The description of updates is similar to offline patches. They describe the soft |
|
|
"hidden": 1, [OPTIONAL, integer, If set to 1 it will only show this update if the software is already installed.]
|
|
|
"repo": "https://cosysgit.uantwerpen.be/rtissoftware1", [OPTIONAL, string, The URL pointing to the repository of this software package]
|
|
|
"wiki": "https://cosysgit.uantwerpen.be/rtissoftware1/-/wikis/home", [OPTIONAL, string, The URL pointing to the wiki page/documentation of this software package]
|
|
|
"installsubfolder": "rtis_ws/src", [OPTIONAL, string, The relative sub folder to install and find the software package in]
|
|
|
"services": { [OPTIONAL, sub-dictionary, containing the services of this software package]
|
|
|
"rtissoftware1service": { [string, The name of the service in the backend. Also used as service name!]
|
|
|
"workingdirectory": "Python", [OPTIONAL, string, the sub-folder containing the script to launch as service]
|
... | ... | @@ -429,7 +430,8 @@ Specific lines can be added to the script to provide feedback to the user. |
|
|
|
|
|
By default, the `install_folder` and `install_user` (see more details in the [manual installation section](#manual)) parameters are provided as arguments to all scripts in that order.
|
|
|
If set, the `git_username` and `git_password` will also be provided to these scripts. This is needed to pull repositories from the Cosys-Lab Gitlab server.
|
|
|
If they are provided the order of arguments given to the scripts is `install_folder`, `git_username`, `git_password`, `install_user`.
|
|
|
If set in the update description, the `installsubfolder` will also be provided to the scripts.
|
|
|
If they are provided the order of arguments given to the scripts is `install_folder`, `git_username`, `git_password`, `install_user` and `installsubfolder`.
|
|
|
|
|
|
#### Windows Powershell scripts
|
|
|
To indicate completion a progress bar is displayed in the user's browser. To set this progress bar, the following line can be added to the script:
|
... | ... | |