From c6c055656dbe4cf9b1b559402bc6e04bd1022755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 20 Jan 2023 13:48:25 +0100 Subject: [PATCH] Fix: mkdir log directory --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 5220263..7c8b888 100755 --- a/scripts/install +++ b/scripts/install @@ -139,6 +139,14 @@ ynh_add_config --template="endi.ini" --destination="$final_path/endi.ini" chmod 500 "$final_path/endi.ini" chown $app:$app "$final_path/endi.ini" + +#================================================= +# CREATE LOG DIRECTORY +#================================================= + +mkdir "/var/log/$app" +chmod 750 "/var/log/$app" + #================================================= # SETUP SYSTEMD #=================================================