Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support systemd socket activation #1378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 18, 2024

  1. Support systemd socket activation

    This change adds 2 features:
    1) the --address flag of the soci snapshotter supports a network prefix
    2) The soci snapshotter can listen on a file descriptor passed by
       systemd socket activation.
    
    If the user tells soci to listen on a file descriptor, but doesn't use
    systemd socket activation to launch the process, the snapshotter will
    fall back to the default address as a unix socket.
    
    The example systemd service file is updated to use systemd activation if
    possible. There is an example systemd socket file, but no strict
    dependency from the service file so that users who are always starting
    SOCI on boot won't get a warning from systemd.
    
    Signed-off-by: Kern Walster <walster@amazon.com>
    Kern-- committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    fbd8126 View commit details
    Browse the repository at this point in the history