diff --git a/check_process b/check_process index 2e295be..e9defde 100644 --- a/check_process +++ b/check_process @@ -24,20 +24,6 @@ incorrect_path=1 port_already_use=1 change_url=1 -;;; Levels - Level 1=auto - Level 2=auto - Level 3=auto -# Level 4: If the app supports LDAP and SSOwat, turn level 4 to '1' and add a link to an issue or a part of your code to show it. -# If the app does not use LDAP nor SSOwat, and can't use them, turn level 4 to 'na' and explain as well. -# na: no user management - Level 4=na - Level 5=auto - Level 6=auto - Level 7=auto - Level 8=0 - Level 9=0 - Level 10=0 ;;; Options Email= Notification=none diff --git a/scripts/install b/scripts/install index 8fcbcb0..7103454 100755 --- a/scripts/install +++ b/scripts/install @@ -141,7 +141,7 @@ ynh_use_logrotate # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app --log "/var/log/$app/$app.log" +yunohost service add $app --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index d327049..52a73ac 100755 --- a/scripts/restore +++ b/scripts/restore @@ -81,13 +81,13 @@ ynh_install_nodejs $nodejs_version ynh_script_progression --message="Restoring the systemd configuration..." --weight=1 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app --log "/var/log/$app/$app.log" +yunohost service add $app --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 2b9e7d6..200dc0b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -169,6 +169,12 @@ ynh_add_systemd_config # Set permissions on app files chown -R $app: $final_path +#================================================= +# ADVERTISE SERVICE IN ADMIN PANEL +#================================================= + +yunohost service add $app --log="/var/log/$app/$app.log" + #================================================= # SETUP SSOWAT #=================================================