mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Fix
This commit is contained in:
parent
777f710891
commit
7ea9983774
2 changed files with 4 additions and 3 deletions
|
@ -144,7 +144,7 @@
|
||||||
},
|
},
|
||||||
"SqlSettings": {
|
"SqlSettings": {
|
||||||
"DriverName": "mysql",
|
"DriverName": "mysql",
|
||||||
"DataSource": "mysql://__DB_NAME__:__DB_PASS__@localhost:3306/__DB_NAME__?charset=utf8mb4,utf8",
|
"DataSource": "mysql://__DB_NAME__:__DB_PASS__@tcp(127.0.0.1:3306)/__DB_NAME__?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s",
|
||||||
"DataSourceReplicas": [],
|
"DataSourceReplicas": [],
|
||||||
"DataSourceSearchReplicas": [],
|
"DataSourceSearchReplicas": [],
|
||||||
"MaxIdleConns": 20,
|
"MaxIdleConns": 20,
|
||||||
|
|
|
@ -135,9 +135,10 @@ ynh_store_file_checksum --file="$final_path/config/config.json"
|
||||||
# SECURE FILES AND DIRECTORIES
|
# SECURE FILES AND DIRECTORIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
chown -R $app:www-data $final_path
|
chown -R $app: $final_path
|
||||||
chown -R $app:www-data $data_path
|
chown -R $app: $data_path
|
||||||
chown -R $app:adm $logs_path
|
chown -R $app:adm $logs_path
|
||||||
|
chmod -R g+w $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue