Ability to set ionice for backups

Version 1.43

Feature
Finished

New directadmin.conf option: ionice_string= where the internal default is 0 (null). If you add a string, it would look something like this: ionice_string=/usr/bin/ionice -c2 -n7 and requires that you actually have ionice on your system (it doesn't exist on all OS's hence we don't use it by default) If the value is blank, ensure that ionice_string is not present anywhere in the directadmin.conf, else it won't be "null" and make cause strange effects. This would make the resulting tar backup call look like: /usr/bin/nice -n 19 /usr/bin/ionice -c2 -n7 /bin/tar cvf <etc>.. The applies to all areas of tar and zip/unzip.

Interested to try DirectAdmin? Get a 30-day Free Trial!