aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-05-10 15:52:05 +0200
committeryalh76 <yalh@yahoo.com>2021-05-10 15:52:05 +0200
commit096eb06ef227d079841d4a27f60a918c5e037b8c (patch)
tree7c6fa30cbee71c867eaa294fc6af9dbeac8c3028 /scripts/install
parentf9a0796df2c8ca4d0ff84a04ca49a94bf89cad06 (diff)
downloadmastodon_ynh-096eb06ef227d079841d4a27f60a918c5e037b8c.tar.gz
mastodon_ynh-096eb06ef227d079841d4a27f60a918c5e037b8c.tar.bz2
mastodon_ynh-096eb06ef227d079841d4a27f60a918c5e037b8c.zip
Fix for 4.2
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install
index f5da202..7e8e99d 100644
--- a/scripts/install
+++ b/scripts/install
@@ -190,9 +190,9 @@ chown $app:$app "$final_path/live/config/settings.yml"
ynh_script_progression --message="Configuring a systemd service..."
# Create a dedicated systemd config
-ynh_add_systemd_config --service="$app-web" --template="mastodon-web.service" --others_var="port_web RBENV_ROOT"
-ynh_add_systemd_config --service="$app-sidekiq" --template="mastodon-sidekiq.service" --others_var="RBENV_ROOT"
-ynh_add_systemd_config --service="$app-streaming" --template="mastodon-streaming.service" --others_var="port_stream ynh_node_load_PATH ynh_node"
+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"
#=================================================
# INSTALLING MASTODON