mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
added template trigger for nginx templates
This commit is contained in:
parent
f1c54509f7
commit
ca85e44d2a
3 changed files with 15 additions and 0 deletions
|
@ -303,6 +303,11 @@ rebuild_web_domain_conf() {
|
|||
fi
|
||||
user_domains=$((user_domains + 1))
|
||||
|
||||
# Running template trigger
|
||||
if [ -x $WEBTPL/$PROXY_SYSTEM/$PROXY.sh ]; then
|
||||
$WEBTPL/$PROXY_SYSTEM/$PROXY.sh $user $domain $ip $HOMEDIR $docroot
|
||||
fi
|
||||
|
||||
# Checking ftp
|
||||
if [ ! -z "$FTP_USER" ]; then
|
||||
if [ -z "$(grep ^$FTP_USER: /etc/passwd)" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue