P
PedstersPlanet
Guest
Ok, I have a Event in Event manager that disables a domain if the traffic limit is reached.. however, it didnt execute?
Am I right in thinking that you have to run it as the user of the domain and not root?
----------
Event: Traffic limit reached for domain
Priority: 50
User: <client user>
/usr/local/psa/admin/sbin/domainmng --turn-off --domain-name=<full domain name here>
-----------
Is this right? I can not see why it wouldnt work, unless its a permission error on the domainmng - if so, how do you tell which domain exceeds limit if its executed under root?
Or am I missing something here?
Am I right in thinking that you have to run it as the user of the domain and not root?
----------
Event: Traffic limit reached for domain
Priority: 50
User: <client user>
/usr/local/psa/admin/sbin/domainmng --turn-off --domain-name=<full domain name here>
-----------
Is this right? I can not see why it wouldnt work, unless its a permission error on the domainmng - if so, how do you tell which domain exceeds limit if its executed under root?
Or am I missing something here?