Plesk WEB UI -> tools & settings > Event manager:
Event: Domain created
Priority: 0 and 100
User: root
Command: /tmp/test.sh
/tmp/test.sh:
#!/bin/bash
echo "Trigger domain create test" >> /tmp/event_handler.log
If run in SSH with root user its working right.
When create domain in plesk nothing happen
OS CentOS 6.9 (Final)
Product Plesk Onyx
Version 17.5.3 Update #12
How can I test whats going wrong?
Thanks!
Event: Domain created
Priority: 0 and 100
User: root
Command: /tmp/test.sh
/tmp/test.sh:
#!/bin/bash
echo "Trigger domain create test" >> /tmp/event_handler.log
If run in SSH with root user its working right.
When create domain in plesk nothing happen
OS CentOS 6.9 (Final)
Product Plesk Onyx
Version 17.5.3 Update #12
How can I test whats going wrong?
Thanks!