Skip to content

FR: Add support for resource quotas #23

@blackliner

Description

@blackliner

Hi, until https://github.com/orgs/community/discussions/159847 is getting along, could we add a small patch section between the svc.sh install and svc.sh start calls that would run sth like this:

sed -i "/^\[Service\]/a\\
CPUQuota=$CPU_QUOTA\\
MemoryMax=$MEMORY_LIMIT
" "$UNIT_FILE"

I will definitely try it out in a fork and can contribute back if interest exists.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions