Skip to content
Snippets Groups Projects
  1. Jul 10, 2019
  2. Jul 02, 2019
  3. Jun 24, 2019
  4. May 22, 2019
  5. Apr 18, 2019
  6. Mar 12, 2019
  7. Jul 02, 2018
  8. Feb 16, 2018
    • Tomas Krizek's avatar
      systemd: update README · eebce52b
      Tomas Krizek authored
      Discourage use of kresd.service in distros using systemd-sysv-generator.
      Verified
      eebce52b
    • Tomas Krizek's avatar
      systemd: compatibility drop-in for kresd@.service · aa3acf73
      Tomas Krizek authored
      Unify the drop-in files for manual activation and systemd compatibility,
      since it is not recommended to use manual activation if socket
      activation is supported.
      
      Also add --forks=1 to the command, otherwise the service attempts to
      start in interactive mode.
      Verified
      aa3acf73
    • Tomas Krizek's avatar
    • Tomas Krizek's avatar
      systemd: provide kresd arguments in ExecStart= · 24711da7
      Tomas Krizek authored
      To avoid using /etc/default/kresd, provide the needed arguments directly
      in the ExecStart= in the kresd@.service.
      Verified
      24711da7
    • Tomas Krizek's avatar
      systemd: remove kresd.service meta-service · 1f9aa9a6
      Tomas Krizek authored
      The kresd.service meta-service could be confusing for users and provides
      no extra functionality. The system-kresd.slice can be used to restart or
      stop all running instances.
      
      Distributions shipping with /etc/init.d/kresd should symlink the
      kresd.service to /dev/null to prevent systemd-sysv-generator from
      creating this service.
      Verified
      1f9aa9a6
    • Daniel Kahn Gillmor's avatar
      systemd: drop ReusePort=true, no longer needed · cd23b590
      Daniel Kahn Gillmor authored and Tomas Krizek's avatar Tomas Krizek committed
      ReusePort=true isn't needed because there is a single listening
      socket, which is shared across all instances.  Nothing needs to reuse
      the port.
      Verified
      cd23b590
    • Daniel Kahn Gillmor's avatar
      systemd: clarify dropping Sockets= for non-socket-activated services · 26918db9
      Daniel Kahn Gillmor authored and Tomas Krizek's avatar Tomas Krizek committed
      If the adminstrator of a non-socket-activated kresd installation
      doesn't clear Sockets=, then they will also inherit sockets from the
      process manager, which doesn't make sense.  Help them avoid that
      situation.
      Verified
      26918db9
    • Daniel Kahn Gillmor's avatar
      systemd: no need to include defaults · 6e3c7abc
      Daniel Kahn Gillmor authored and Tomas Krizek's avatar Tomas Krizek committed
      We want these files to be as simple as possible; there's no reason to
      include arguments that are already the default.
      
      --forks=1 is the default.
      
      and the unit files indicate WorkingDirectory already.
      Verified
      6e3c7abc
    • Daniel Kahn Gillmor's avatar
      systemd: drop the preset · de25e937
      Daniel Kahn Gillmor authored and Tomas Krizek's avatar Tomas Krizek committed
      If we only install the files in this directory, there is no need for
      the preset, because kresd@1.service is not enabled by default anyway.
      
      Simplify, simplify :)
      Verified
      de25e937
    • Daniel Kahn Gillmor's avatar
      systemd: remove symlinks · 8fbc5ee3
      Daniel Kahn Gillmor authored and Tomas Krizek's avatar Tomas Krizek committed
      Administrators using bash tab completion with the full completion
      utilities enabled will be able to tab-complete instantiated services.
      shipping symlinks gets confused during tarball generation, and during
      package installation, so it's safer and cleaner to just ship the
      regular unit files.
      Verified
      8fbc5ee3
    • Daniel Kahn Gillmor's avatar
      More systemd service management cleanup · 0398a985
      Daniel Kahn Gillmor authored and Tomas Krizek's avatar Tomas Krizek committed
      Please see discussion at:
      https://github.com/systemd/systemd/issues/8096
      
      The new approach is:
      
       * non-templated kresd.socket and kresd-tls.socket, for the
         public-facing listening ports.  They know to invoke kresd@1.service
         if they're socket-activated.
      
       * kresd@.service *is* templated, to allow the admin to add more
         concurrent runners with:
      
            systemctl enable kresd@2.service
      
       * kresd-control@.socket is still templated, since each daemon has a
         separately-addressable different control port.
      
       * non-templated kresd.service is a dummy meta-service.  it is in the
         same slice as kresd@.service, and all the kresd@.service instances
         are PartOf= it, so you should be able to stop and restart all
         services together.  On systems like debian that ship
         /etc/init.d/kres, this also avoids having systemd-sysv-generator
         create a kresd.service based on the initscript.
      
       * no templated instances are explicitly instantiated during initial
         ship, but kresd@1.service should be socket-activated cleanly
      
      Gbp-Pq: Name 0010-More-systemd-service-management-cleanup.patch
      Verified
      0398a985
Loading