mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
change random generation
This commit is contained in:
parent
31f68b44ab
commit
d064a8edfb
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ sudo yunohost app setting movim public_site -v $public_site
|
|||
sudo yunohost app setting movim port -v $port
|
||||
|
||||
# Generate random password
|
||||
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[[:alnum:]]' | sed -n 's/\(.\{24\}\).*/\1/p')
|
||||
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[[:alnum:]]')
|
||||
|
||||
# Use 'movim' as database name and user
|
||||
db_user=movim
|
||||
|
|
Loading…
Add table
Reference in a new issue