From 0c4121ac5234e4351a431f9e6091c426a60aa533 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 26 May 2020 13:40:04 +0200 Subject: Add service description --- scripts/upgrade | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts/upgrade') diff --git a/scripts/upgrade b/scripts/upgrade index eff42b3..f14c08b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -322,6 +322,15 @@ ynh_add_systemd_config --service="$app-web" --template="mastodon-web.service" ynh_add_systemd_config --service="$app-sidekiq" --template="mastodon-sidekiq.service" ynh_add_systemd_config --service="$app-streaming" --template="mastodon-streaming.service" +#================================================= +# INTEGRATE SERVICE IN YUNOHOST +#================================================= +ynh_script_progression --message="Integrating service in YunoHost..." --weight=3 + +yunohost service add "$app-web" --description "$app web service" --log_type "systemd" +yunohost service add "$app-sidekiq" --description "$app sidekiq service" --log_type "systemd" +yunohost service add "$app-streaming" --description "$app streaming service" --log_type "systemd" + #================================================= # GENERIC FINALIZATION #================================================= -- cgit v1.2.3-70-g09d2