mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Add service description
This commit is contained in:
parent
d3ea53c200
commit
0c4121ac52
3 changed files with 15 additions and 6 deletions
|
@ -264,9 +264,9 @@ chown -R "$app": "$final_path"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
|
||||
|
||||
yunohost service add "$app-web"
|
||||
yunohost service add "$app-sidekiq"
|
||||
yunohost service add "$app-streaming"
|
||||
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"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -142,9 +142,9 @@ systemctl enable "$app-web" "$app-sidekiq" "$app-streaming"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
|
||||
|
||||
yunohost service add $app-web
|
||||
yunohost service add $app-sidekiq
|
||||
yunohost service add $app-streaming
|
||||
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"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue