mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Allow admins to run custom script after SSL is put to any domain
This commit is contained in:
parent
fcbb523c05
commit
82192a001d
1 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,10 @@ if [ ! -z "$UPDATE_HOSTNAME_SSL" ] && [ "$UPDATE_HOSTNAME_SSL" = "yes" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$UPDATE_SSL_SCRIPT" ]; then
|
||||||
|
eval "$UPDATE_SSL_SCRIPT $user $domain"
|
||||||
|
fi
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
log_history "enabled ssl support for $domain"
|
log_history "enabled ssl support for $domain"
|
||||||
log_event "$OK" "$ARGUMENTS"
|
log_event "$OK" "$ARGUMENTS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue