-
Notifications
You must be signed in to change notification settings - Fork 23
Add options to set ulimit configures #42
Comments
Is there a reason to not do this in the command for the service? You could use something like |
@coderanger It'll work, but IMO is not a elegant solution. And is better add a |
Yeah, something like that :) Not against supporting it as a provider option per se but I'm trying to avoid tooooo much template sprawl. |
If you would like, I can implement it as a provider option and open a PR. |
That would be a long term project to figure out how best to integrate so I would just use one of the workarounds from above for now. |
I'm already using the |
But (I need to set LimitNOFILE somewhere) |
@alicebob Indeed, you can use a custom template file for all the core providers to fully override things not otherwise exposed in the API. |
Some process need to open to many files, like prometheus, and you need to configure the
number of files
a process can open.But the poise-service to have this feature.
Some useful links:
The
sysvinit
andinittab
just need to execute theulimit
command on the script.But what's the better way to implement it? As a
provider
option or as apoise_service
option?Thanks
The text was updated successfully, but these errors were encountered: