mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Update install
This commit is contained in:
parent
8e75c80d54
commit
3c300d1478
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ if [[ ! $? -eq 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Generate random password
|
||||
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
|
||||
|
||||
# Use 'wordpress' as database name and user
|
||||
db_user=wordpress
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue