1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garage_ynh.git synced 2024-09-03 18:36:32 +02:00

touch "/var/log/$app/$app.log"

This commit is contained in:
OniriCorpe 2024-08-18 22:31:10 +02:00
parent 3c025e9dba
commit 9e56582dda

View file

@ -102,6 +102,9 @@ yunohost tools regen-conf nginx
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
mkdir -p "/var/log/$app/"
touch "/var/log/$app/$app.log"
# Create a dedicated systemd config
ynh_add_systemd_config
@ -118,8 +121,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Garage: Data Store."
#=================================================
# CONFIGURE GARAGE
#=================================================