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

Systemd socket activation fds #1923

Closed
afbjorklund opened this issue Dec 28, 2020 · 0 comments · Fixed by #1924
Closed

Systemd socket activation fds #1923

afbjorklund opened this issue Dec 28, 2020 · 0 comments · Fixed by #1924

Comments

@afbjorklund
Copy link
Contributor

Add support for systemd socket activation, as described in #1793 (comment)

http://0pointer.de/blog/projects/socket-activation.html

# /etc/systemd/system/buildkit.service
[Unit]
Description=BuildKit
Documentation=https://github.com/moby/buildkit

[Service]
ExecStart=/usr/local/bin/buildkitd --addr fd://

[Install]
WantedBy=multi-user.target

# /etc/systemd/system/buildkit.socket
[Unit]
Description=BuildKit
Documentation=https://github.com/moby/buildkit

[Socket]
ListenStream=%t/buildkit/buildkitd.sock

[Install]
WantedBy=sockets.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant