Skip to content
Snippets Groups Projects
  1. Aug 12, 2024
  2. Jul 15, 2024
  3. Jul 13, 2024
  4. Jun 20, 2024
    • Eric Vidal's avatar
      Improve identifier list. · 2f91f622
      Eric Vidal authored
      In addition to the string "@I" as identifier to replace by the name of instance service,
      the following identifier are now recognize :
      @I, @U, @u, @G, @g, @H, @S, @R. see doc/66-identifier.md for furthers information.
      2f91f622
    • Eric Vidal's avatar
      Use the lexer to get a cleaned key · 80704809
      Eric Vidal authored
      80704809
    • Eric Vidal's avatar
      Bug fix: name of the logger to append · 64462105
      Eric Vidal authored
      64462105
    • 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
  5. Jun 18, 2024
    • Eric Vidal's avatar
      Remove deprecated key @shebang · 0f69103e
      Eric Vidal authored
      0f69103e
    • Eric Vidal's avatar
      Change name of Timeout key familly. · 2c736d20
      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.
      2c736d20
  6. Jun 17, 2024
  7. Jun 07, 2024
  8. Jun 03, 2024
    • Eric Vidal's avatar
      Please do not leak · 6c181b9c
      Eric Vidal authored
      6c181b9c
    • 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
Loading