File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ if [ "$SSL" = 'yes' ]; then
8686 fi
8787fi
8888
89+ # Running template trigger
90+ if [ -x $WEBTPL /$PROXY_SYSTEM /$template .sh ]; then
91+ $WEBTPL /$PROXY_SYSTEM /$template .sh $user $domain $ip $HOMEDIR $docroot
92+ fi
93+
8994
9095# ----------------------------------------------------------#
9196# Vesta #
Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ if [ "$SSL" = 'yes' ]; then
7575 chmod 640 $conf
7676fi
7777
78+ # Running template trigger
79+ if [ -x $WEBTPL /$PROXY_SYSTEM /$template .sh ]; then
80+ $WEBTPL /$PROXY_SYSTEM /$template .sh $user $domain $ip $HOMEDIR $docroot
81+ fi
82+
7883
7984# ----------------------------------------------------------#
8085# Vesta #
Original file line number Diff line number Diff line change @@ -303,6 +303,11 @@ rebuild_web_domain_conf() {
303303 fi
304304 user_domains=$(( user_domains + 1 ))
305305
306+ # Running template trigger
307+ if [ -x $WEBTPL /$PROXY_SYSTEM /$PROXY .sh ]; then
308+ $WEBTPL /$PROXY_SYSTEM /$PROXY .sh $user $domain $ip $HOMEDIR $docroot
309+ fi
310+
306311 # Checking ftp
307312 if [ ! -z " $FTP_USER " ]; then
308313 if [ -z " $( grep ^$FTP_USER : /etc/passwd) " ]; then
You can’t perform that action at this time.
0 commit comments