Hi Maxim,
On Fri Jan 23, 2026 at 7:18 AM CET, Maxim Cournoyer wrote: > "Tanguy Le Carrour" <[email protected]> writes: >> If someone has a way to start `gunicorn` "inside the context of a profile" >> directly >> from the Shepherd service, I’d be more that happy to give it a try. > > It's something I had to do recently for the luanti-service-type, where I > wished I could simply generate a full-fledged profile from the service > instead of building the required environment variable manually, MacGyver > style (see how the LUANTI_MOD_PATH environment variable is computed in > commit 47af617b5cc). Thanks for sharing! I’ll give it a look. > I think it'd make sense to be able to compute and use a service-specific > profile in a service, which would help in this kind of situation, though > I haven't pondered yet *how* exactly this could be implemented. +1!! 😁 -- Tanguy
