mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Merge pull request #421 from YunoHost-Apps/increase-migration-timeout
scripts: increase the PostgreSQL migration timeout again
This commit is contained in:
commit
fb3aed0add
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ mariadb-to-pg() {
|
|||
pushd $final_path
|
||||
ynh_systemd_action --service_name="$app" --action="stop"
|
||||
set +e
|
||||
sudo -u mattermost timeout --preserve-status 180 "./bin/mattermost"
|
||||
sudo -u mattermost timeout --preserve-status 300 "./bin/mattermost"
|
||||
if [ "$?" != "0" ] && [ "$?" != "143" ] ; then
|
||||
ynh_die --message="Failed to run Mattermost to create PostgreSQL database tables" --ret_code=1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue