• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Events handler does not working?

M

MegaCrash

Guest
Hi! I got some troubles with plesk events handler. I was try to run commands by "domain creation" event, but it's not running. I tryed to do this on another server, but unfortunately too.

priority: 0
User: root
Command: /usr/local/psa/admin/sbin/set_dom.php $NEW_DOMAIN_NAME on

Plesk 9.5.2/fc11
 
What is this - /usr/local/psa/admin/sbin/set_dom.php? Is it your custom script or what? What should this command do?
 
This is script, which create vhost.conf for domains, specified by command line argument. Never mind... I tryed to run other commands for test, but nothing was executed. There are has special syntax?
 
Back
Top