mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
package trigger support
This commit is contained in:
parent
635522778f
commit
c4101dcf42
3 changed files with 15 additions and 0 deletions
|
@ -218,6 +218,11 @@ if [ "$user" != 'admin' ]; then
|
|||
increase_user_value 'admin' '$U_USERS'
|
||||
fi
|
||||
|
||||
# Run template trigger
|
||||
if [ -x "$VESTA/data/packages/$package.sh" ]; then
|
||||
$VESTA/data/packages/$package.sh "$user" "$email" "$fname" "$lname"
|
||||
fi
|
||||
|
||||
# Logging
|
||||
log_history "added system user $user" '' 'admin'
|
||||
log_event "$OK" "$EVENT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue