Skip to content
Snippets Groups Projects
  1. Jun 18, 2024
    • 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
  2. Jun 17, 2024
  3. 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
  4. May 28, 2024
  5. Jan 08, 2024
  6. Nov 27, 2023
  7. Nov 26, 2023
  8. Nov 21, 2023
  9. Oct 30, 2023
  10. Aug 06, 2023
  11. Jun 05, 2023
  12. Jun 04, 2023
  13. Jun 02, 2023
  14. May 31, 2023
  15. May 28, 2023
    • Eric Vidal's avatar
      pass through temporary directory. · 69f24c1e
      Eric Vidal authored
      Parse the service and write the result in a temporary directory. When the write process
      is finished the directory is copied to the original service directory overwritten a
      same file. The symlink /var/lib/66/system/.resolve/service/<name> is made at the complete
      end of the process. So we can clean the mess removing the temporary directory and
      avoid to change the original service directory before the end of the process. The state of
      system should be clean event on crash of the parse process
      69f24c1e
    • Eric Vidal's avatar
      7daf7653
  16. May 21, 2023
  17. Apr 15, 2023
  18. Mar 11, 2023
  19. Oct 15, 2022
  20. Sep 29, 2022
Loading