Skip to content
Snippets Groups Projects
  1. Dec 02, 2024
  2. Oct 14, 2024
  3. Sep 30, 2024
  4. Sep 04, 2024
  5. Aug 13, 2024
  6. Jun 20, 2024
    • Eric Vidal's avatar
      Follow changes behavior of service resolve file. · 5aad72c9
      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.
      5aad72c9
    • Eric Vidal's avatar
      Resolve read/write can be faster. · 3f345ecb
      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.
      3f345ecb
  7. Jun 07, 2024
  8. Jun 03, 2024
    • Eric Vidal's avatar
      Only build the entire graph of system after a parse process. · 8fcc5c59
      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.
      8fcc5c59
  9. Jun 02, 2024
    • Eric Vidal's avatar
      Add the 66-execute program. · afd3dbe4
      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.
      afd3dbe4
  10. Jun 01, 2024
  11. May 31, 2024
  12. May 28, 2024
  13. May 26, 2024
  14. May 24, 2024
  15. May 21, 2024
  16. May 18, 2024
  17. May 17, 2024
  18. May 07, 2024
  19. May 04, 2024
  20. Jan 10, 2024
  21. Dec 22, 2023
  22. Dec 05, 2023
  23. Dec 02, 2023
  24. Nov 27, 2023
  25. Nov 26, 2023
  26. Nov 25, 2023
  27. Nov 21, 2023
  28. Nov 09, 2023
  29. Oct 31, 2023
  30. Oct 30, 2023
  31. Jul 15, 2023
Loading