From 882f495e54c25e5d93269af10e7cdbe64a2e82b4 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 28 Feb 2023 22:27:34 +0100 Subject: [PATCH] test --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 990712c..6e0831d 100755 --- a/scripts/install +++ b/scripts/install @@ -45,6 +45,13 @@ pushd $install_dir PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install fittrackee==$fittrackee_version python-dotenv popd +#================================================= +# CONFIGURE log file +#================================================= + +mkdir /var/log/$app/ +touch /var/log/$app/$app.log +chown -R $app: /var/log/$app/ #================================================= # CONFIGURE THE INSTALL SCRIPT @@ -65,6 +72,7 @@ mkdir "$install_dir/venv" python3 -m venv "$install_dir/venv" source $install_dir/.env + #================================================= # INITIALIZE DATABASE #=================================================