diff options
| author | yalh76 <yalh@yahoo.com> | 2020-02-23 19:51:58 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2020-02-23 19:51:58 +0100 |
| commit | 3a7b21fbcbede1ee108bb5b94b7c6a1717cdaa2c (patch) | |
| tree | e16cd5a3966e8cfa20186d08f42ac9e08923b345 | |
| parent | 6ff11dacb201a08506b345953aa7b9bd39eeacf5 (diff) | |
| download | mastodon_ynh-3a7b21fbcbede1ee108bb5b94b7c6a1717cdaa2c.tar.gz mastodon_ynh-3a7b21fbcbede1ee108bb5b94b7c6a1717cdaa2c.tar.bz2 mastodon_ynh-3a7b21fbcbede1ee108bb5b94b7c6a1717cdaa2c.zip | |
Apply example_ynh
| -rw-r--r-- | scripts/install | 4 | ||||
| -rw-r--r-- | scripts/remove | 2 | ||||
| -rw-r--r-- | scripts/restore | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/scripts/install b/scripts/install index f769f03..60787e7 100644 --- a/scripts/install +++ b/scripts/install @@ -254,9 +254,9 @@ ynh_script_progression --message="Securing files and directories..." --weight=9 chown -R "$app": "$final_path" #================================================= -# ADVERTISE SERVICE IN ADMIN PANEL +# INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Advertising service in admin panel..." --weight=3 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=3 yunohost service add "$app-web" yunohost service add "$app-sidekiq" diff --git a/scripts/remove b/scripts/remove index b88da99..f2b2e16 100644 --- a/scripts/remove +++ b/scripts/remove @@ -31,7 +31,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Removing service integration in YunoHost..." --weight=2 -# Remove a service from the admin panel, added by `yunohost service add` +# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status "$app-web" >/dev/null then ynh_script_progression --message="Removing $app-web service..." --weight=2 diff --git a/scripts/restore b/scripts/restore index a45925e..c6e4bc8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -139,9 +139,9 @@ ynh_restore_file --origin_path="/etc/systemd/system/$app-streaming.service" systemctl enable "$app-web" "$app-sidekiq" "$app-streaming" #================================================= -# ADVERTISE SERVICE IN ADMIN PANEL +# INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Advertising service in admin panel..." --weight=3 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=3 yunohost service add $app-web yunohost service add $app-sidekiq |
