From 03056f782330ea88ee7251a303353b0ea2505331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20Torr=C3=A8s?= Date: Mon, 9 Dec 2024 19:06:18 +0100 Subject: [PATCH] Update start.debian.sh 1/ Fix {} arround user_notifications.json file => if there is just one file, this create a file named "{user_notifications.json} ;) 2/ Fix group for the above file --- install/start.debian.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/start.debian.sh b/install/start.debian.sh index 6ec02274..eeaaf930 100755 --- a/install/start.debian.sh +++ b/install/start.debian.sh @@ -100,11 +100,11 @@ fi # Create the execution_queue.log file if it doesn't exist touch "${INSTALL_DIR}"/log/{app.log,execution_queue.log,app_front.log,app.php_errors.log,stderr.log,stdout.log,db_is_locked.log} -touch "${INSTALL_DIR}"/api/{user_notifications.json} - +touch "${INSTALL_DIR}"/api/user_notifications.json # Fixing file permissions echo "[INSTALL] Fixing file permissions" +chown root:www-data "${INSTALL_DIR}"/api/user_notifications.json echo "[INSTALL] Fixing WEB_UI_DIR: ${WEB_UI_DIR}"