1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Update _common.sh

This commit is contained in:
ericgaspar 2023-08-25 16:49:17 +02:00
parent 114559050d
commit 86ad86741a

View file

@ -32,7 +32,7 @@ mariadb-to-pg() {
pushd $install_dir
ynh_systemd_action --service_name="$app" --action="stop"
set +e
sudo -u mattermost timeout --preserve-status 300 "./bin/mattermost"
sudo -u $app 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