1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00
This commit is contained in:
Éric Gaspar 2024-06-05 11:34:32 +02:00
parent 9f861bfd80
commit f187c2ab6c
3 changed files with 3 additions and 4 deletions

View file

@ -38,7 +38,7 @@ ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config
yunohost service add $app --description="A non-linear personal web notebook"
yunohost service add $app --description="A non-linear personal web notebook" --log="/var/log/$app/$app.log"
#=================================================
# ADD A CONFIGURATION

View file

@ -52,7 +52,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet
yunohost service add $app --description="A non-linear personal web notebook"
yunohost service add $app --description="A non-linear personal web notebook" --log="/var/log/$app/$app.log"
#=================================================
# GENERIC FINALIZATION

View file

@ -35,7 +35,6 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_use_nodejs
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS
@ -48,7 +47,7 @@ ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config
yunohost service add $app --description="A non-linear personal web notebook"
yunohost service add $app --description="A non-linear personal web notebook" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE