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.
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:
I will definitely try it out in a fork and can contribute back if interest exists.