1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lutim_ynh.git synced 2024-09-03 19:36:24 +02:00

Fix service add $app

This commit is contained in:
ericgaspar 2020-12-09 08:40:39 +01:00
parent b251afb535
commit dfe97ff3f3
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 8 additions and 8 deletions

View file

@ -191,7 +191,7 @@ ynh_use_logrotate
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log $final_path/log/production.log
yunohost service add $app --log="$final_path/log/production.log"
#=================================================
# SETUP SSOWAT

View file

@ -88,12 +88,6 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=60
ynh_install_app_dependencies $pkg_depencencies
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log $final_path/log/production.log
#=================================================
# RESTORE SYSTEMD
#=================================================
@ -117,6 +111,12 @@ mkdir -p /var/log/$app/
touch /var/log/$app/production.log
chown $app -R /var/log/$app
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log="$final_path/log/production.log"
#=================================================
# RESTORE LOGROTATE CONFIGURATION
#=================================================

View file

@ -292,7 +292,7 @@ chown $app -R /var/log/$app
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log $final_path/log/production.log
yunohost service add $app --log="$final_path/log/production.log"
#=================================================
# RELOAD NGINX