diff --git a/scripts/install b/scripts/install index e9bdb42..8cfa207 100644 --- a/scripts/install +++ b/scripts/install @@ -161,12 +161,6 @@ chown -R $app: $final_path/var # Use logrotate to manage application logfile(s) ynh_use_logrotate -#================================================= -# ADVERTISE SERVICE IN ADMIN PANEL -#================================================= - -yunohost service add NAME_INIT.D --log "/var/log/FILE.log" - #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/remove b/scripts/remove index ccb2862..1cb9537 100644 --- a/scripts/remove +++ b/scripts/remove @@ -22,20 +22,6 @@ final_path=$(ynh_app_setting_get $app final_path) #================================================= # STANDARD REMOVE -#================================================= -# STOP AND REMOVE SERVICE -#================================================= - -#================================================= -# REMOVE SERVICE FROM ADMIN PANEL -#================================================= - -if yunohost service status | grep -q $app -then - echo "Remove $app service" - yunohost service remove $app -fi - #================================================= # REMOVE THE MYSQL DATABASE #================================================= diff --git a/scripts/restore b/scripts/restore index cef33d1..232f668 100644 --- a/scripts/restore +++ b/scripts/restore @@ -79,7 +79,6 @@ chown -R root: $final_path # Only path that needs to be writable by cheky chown -R $app: $final_path/var - #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= @@ -87,12 +86,6 @@ chown -R $app: $final_path/var ynh_restore_file "/etc/php5/fpm/pool.d/$app.conf" ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini" -#================================================= -# ADVERTISE SERVICE IN ADMIN PANEL -#================================================= - -yunohost service add $app --log "/var/log/$app/APP.log" - #================================================= # RESTORE THE CRON FILE #=================================================