quota_update_pre.sh

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
I think that should be made a script called quota_update_pre.sh executed every time DA update quota for a user.

For example, when DA upgrade quota for 5 user, that script should be ran 5 times.

The only environmental variable should be "username"
if that script returns everything but 0, then returned value should be used as quota and skip DA internal quota calculation.

For example:

DA calls quota_update_pre.sh with
username=test

that script willoutput something like

www=10000
mysql=3400
mail=3425

and so on.

With this script, and with other post|pre scripting, should be possibile (more or less) to create a distributed serivice, for example, mail over a second server, mysql over a third server, web over a 4° server and so on.

Quota calculation wil be made by an our custom script.
 
Hello,

Thanks for your request. It does appear to be simple, well thought out and has potential. At this time however, we'd need to see enough demand for it in order to allocate development resources to implement it. We will definately consider it when that time comes.

Thanks,

John
 
Back
Top