How to update all packages with a same item value

speckados

Well-Known Member
Hi.

I'm looking for a tip to upgrade all packages, with a new pàir/ value such MAX_DEFER_FAIL_PERCENTAGE=unlimited to MAX_DEFER_FAIL_PERCENTAGE=30 for example.

In first place I think best way is modify file user in /var/cpanel/packages/ but I don't know how to apply or force reload new values of this files.

Appreciate help
 

nixuser

Well-Known Member
May 30, 2014
177
42
78
cPanel Access Level
Root Administrator
Twitter
use cPanel script,

/usr/local/cpanel/scripts/updateuserdomains

or

/scripts/updateuserdomains

after changing the files manually.

You could use a search and replace one-liner in loop from commandline to modify the files.

Also, the same can be set in tweak settings > mail tab.