- Jun 20, 2024
-
-
Eric Vidal authored
See commit 3f345ecb Rename tree_resolve_copy and tree_resolve_master_copy to tree_resolve_sanitize and tree_resolve_master_sanitize respectively.
-
Eric Vidal authored
At write time: - Add the whole sa to the new cdb field named sa instead of storing the key one by one. - Store uniquely the uint of the key instead of appending a string. At read time: - Do not build again the sa looking for the cdb value but read the whole sa instead. - Do not use extra HEAP memory allocation. At modification time: - Sanitize the resolve by writting the sa from scratch. - Use /tmp directory as temporary cdb file. Replace resolve_find_cdb by the resolve_get_key and resolve_get_sa function. Replace service_resolve_copy by service_resolve_sanitize.
-
- Jun 18, 2024
-
-
Eric Vidal authored
-
Eric Vidal authored
Rename TimeoutKill to TimeoutStart. Rename TimeoutFinish to TimeoutStop. Remove TimeoutUp and TimeoutDown key. To avoid confusion and mistake, oneshot and classic service use now the same key name to declare the timeout to use. TimeoutStart and TimeoutStop are clearer than TimeoutKill and TimeoutFinish. 66 is sufficiently smart to name the file correctly for s6-supervise whick look for the timeout-kill and timeout-finish file.
-
- Jun 17, 2024
-
-
Eric Vidal authored
-
Eric Vidal authored
Key name now begin with a capital letters instead of using the '@' character. Also, '-' character are removed from a composite name. This is introduce the very first change of the key field. Some simplications and changes to the key name will be made. Add the get_enum_list() function.
-
- Jun 07, 2024
-
-
Eric Vidal authored
-
- Jun 03, 2024
-
-
Eric Vidal authored
Each tool needs to be independent, which meant that every time a tool was called, it would build the entire system graph. This was an obvious waste of time and resources. Now, the tools build the graph based on the requested services, which drastically reduces the time needed to construct the necessary dependency graph.
-
- Jun 02, 2024
-
-
Eric Vidal authored
This program is executed via the run script in the service's live directory. It sits between s6-supervise and the user's executable script, allowing for the preparation of the user's script execution. This introduces a dual capability: Define certain preparations through frontend keys, such as setting ownership, moving to a working directory, limiting resources used by the service, etc. Since 66-execute runs on each signal received and transmitted by s6-supervise, it is now possible to send messages to an event management daemon. By default, this program performs previously defined actions such as logging redirections and managing environment variables (previously handled by excel-envfile), creation of the log destination directory, and so on.So, the user's file now contains only the exact copy of the @execute field. Also, the name of the script for an start or stop process are the same. This was a old behabvior coming from s6-rc manager.
-
- May 31, 2024
-
-
Eric Vidal authored
Permit to set uid and gid for a run script. Unknown key may occur at end of the file. Avoid to changed pointer. Typo fix.
-
- May 28, 2024
-
-
Eric Vidal authored
-
Eric Vidal authored
This is a necessary review for new coming section. Each table are now used separately. More lignes of code but a shorter execution and a easier manner to deal with API to integrate new section.
-
- May 26, 2024
-
-
Eric Vidal authored
-
Eric Vidal authored
These directories is used to properly define environment variable at start of a scandir
-
- May 21, 2024
-
-
Eric Vidal authored
-
- May 18, 2024
-
-
Eric Vidal authored
-
Eric Vidal authored
-
- May 17, 2024
-
-
Eric Vidal authored
This reverts commit 87bd69c6.
-
- May 07, 2024
-
-
Eric Vidal authored
-
Eric Vidal authored
to internal version_compare and version_store respectively.
-
Eric Vidal authored
-
- Jan 08, 2024
-
-
Eric Vidal authored
-
- Dec 22, 2023
-
-
Eric Vidal authored
-
Eric Vidal authored
-
Eric Vidal authored
-
- Dec 21, 2023
-
-
Eric Vidal authored
-
Eric Vidal authored
-
- Dec 10, 2023
-
-
Eric Vidal authored
-
- Dec 07, 2023
-
-
Eric Vidal authored
-
- Dec 04, 2023
-
-
Eric Vidal authored
-
Eric Vidal authored
-
Eric Vidal authored
-
- Dec 02, 2023
-
-
Eric Vidal authored
-
- Nov 29, 2023
-
-
Eric Vidal authored
-
- Nov 27, 2023
-
-
Eric Vidal authored
-
Eric Vidal authored
Service may not be supervised, in this case the ssexec_stop function do not find the service to remove and its requiredby dependencies and refuse to remove the service. Whatever the state of the service, the service must be removed.
-
- Nov 26, 2023
-
-
Eric Vidal authored
-
Eric Vidal authored
-
- Nov 25, 2023
-
-
Eric Vidal authored
-
Eric Vidal authored
-