Hide Forgot
Created attachment 533705 [details] Patch to implement described behavior. Currently, the daemon() function within /etc/rc.d/init.d/functions supports adding a line NICELEVEL=x into /etc/sysconfig/foo as a way of setting the daemon's CPU niceness. However, there is currently no support for setting a daemon's IO niceness. A sysadmin, such as myself, may want to throttle a daemon's IO niceness without throttling its CPU niceness. The attached patch implements this functionality. It tested successfully on my machine.
Given the advent of systemd support for system services, I'm inclined to leave this as something done there.