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

Enable systemd for uwsgi #10

Open
gdamjan opened this issue Oct 8, 2020 · 2 comments
Open

Enable systemd for uwsgi #10

gdamjan opened this issue Oct 8, 2020 · 2 comments

Comments

@gdamjan
Copy link
Owner

gdamjan commented Oct 8, 2020

Building with withSystemd=true makes the image twice as big, so currently I build images without systemd support.

Once the nixpkgs merges a solution to have a smaller systemd package, either by introducing a systemd.lib sub-package, or a minimal systemd option, change the github action to build withSystemd=true (the default option).

ps.
one of the pulls for minimal systemd is NixOS/nixpkgs#98998

pps.
Supplying withSystemd=true, changes the uwsgi build to include the systemd, or journal logging output plugin, which creates a bit nicer logs when running

@gdamjan
Copy link
Owner Author

gdamjan commented Oct 8, 2020

building uwsgi against the systemdMinimal pkg makes the image from 30MB to 40MB - which is acceptable I guess. it's still not as small as if libsystemd.so would've been a package.

@flokli
Copy link

flokli commented Oct 9, 2020

The nicer fix for this might be NixOS/nixpkgs#99382.

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

No branches or pull requests

2 participants