Reorder Service and Service in admin panel

This commit is contained in:
Yalh
2019-01-24 01:52:51 +01:00
parent 6e7d98cab5
commit 05e5af727e
2 changed files with 13 additions and 13 deletions

View File

@@ -91,12 +91,6 @@ ynh_restore_file "/etc/php5/fpm/pool.d/$app.conf"
# Define and install dependencies
ynh_install_app_dependencies deb1 deb2
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log "/var/log/$app/APP.log"
#=================================================
# RESTORE SYSTEMD
#=================================================
@@ -104,6 +98,12 @@ yunohost service add $app --log "/var/log/$app/APP.log"
ynh_restore_file "/etc/systemd/system/$app.service"
systemctl enable $app.service
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log "/var/log/$app/APP.log"
#=================================================
# RESTORE THE CRON FILE
#=================================================