1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/endi_ynh.git synced 2024-09-03 18:35:54 +02:00

Fix: mkdir log directory

This commit is contained in:
Salamandar 2023-01-20 13:48:25 +01:00 committed by Félix Piédallu
parent 975570876b
commit c6c055656d

View file

@ -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
#=================================================