aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-02-21 22:27:05 +0100
committeryalh76 <yalh@yahoo.com>2021-02-21 22:27:05 +0100
commit162a807f5ba1c2ce3e3f7420dc7ba1bdc906537a (patch)
treeaf4f54ec0c86856213db453b8e84c4c65a279135 /scripts
parentc2784f1c3188f679c18f868f208d22ee2bfd4dea (diff)
downloadmastodon_ynh-162a807f5ba1c2ce3e3f7420dc7ba1bdc906537a.tar.gz
mastodon_ynh-162a807f5ba1c2ce3e3f7420dc7ba1bdc906537a.tar.bz2
mastodon_ynh-162a807f5ba1c2ce3e3f7420dc7ba1bdc906537a.zip
Using option '--log_type systemd' with 'yunohost service add' is not relevant anymore
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install6
-rw-r--r--scripts/restore6
-rw-r--r--scripts/upgrade6
3 files changed, 9 insertions, 9 deletions
diff --git a/scripts/install b/scripts/install
index 8f4ca05..a7ee1cb 100644
--- a/scripts/install
+++ b/scripts/install
@@ -252,9 +252,9 @@ chown -R "$app": "$final_path"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
-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"
+yunohost service add "$app-web" --description "$app web service"
+yunohost service add "$app-sidekiq" --description "$app sidekiq service"
+yunohost service add "$app-streaming" --description "$app streaming service"
#=================================================
# START SYSTEMD SERVICE
diff --git a/scripts/restore b/scripts/restore
index aef19ad..11729d4 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -141,9 +141,9 @@ systemctl enable "$app-web" "$app-sidekiq" "$app-streaming" --quiet
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
-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"
+yunohost service add "$app-web" --description "$app web service"
+yunohost service add "$app-sidekiq" --description "$app sidekiq service"
+yunohost service add "$app-streaming" --description "$app streaming service"
#=================================================
# START SYSTEMD SERVICE
diff --git a/scripts/upgrade b/scripts/upgrade
index 4b0c4ae..cd84ac8 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -308,9 +308,9 @@ chown -R $app: $final_path
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
-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"
+yunohost service add "$app-web" --description "$app web service"
+yunohost service add "$app-sidekiq" --description "$app sidekiq service"
+yunohost service add "$app-streaming" --description "$app streaming service"
#=================================================
# START SYSTEMD SERVICE