From 20eb7419a20f30b14fd16929281d84a3b0714430 Mon Sep 17 00:00:00 2001 From: SolAZDev Date: Mon, 15 Jan 2024 22:10:18 -0400 Subject: [PATCH] test install dir run --- scripts/install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4ceb744..0bc7cbb 100755 --- a/scripts/install +++ b/scripts/install @@ -56,6 +56,10 @@ pushd $install_dir venv/bin/pip install source.tar.gz popd +mkdir -p /var/www/$app/run +chown $app:$app /var/www/$app/run +chmod 664 /var/www/$app/run + #================================================= # APP INITIAL CONFIGURATION #================================================= @@ -64,8 +68,7 @@ popd ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_add_config --template="../conf/motioneye.conf" --destination="/var/www/$app/motioneye.conf" -mkdir -p /var/www/$app/run -chmod 644 /var/www/$app/run + #================================================= # GENERIC FINALIZATION