aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-05-15 12:18:39 +0200
committeryalh76 <yalh@yahoo.com>2019-05-15 12:18:39 +0200
commitcd046117a5b300ba67faf4d6b25bb1c44fb774d2 (patch)
tree01dbb6ee818e4ea0588ffa81529d730e834e3d46 /scripts/install
parentf6bf3f01c9bbe6862cb8360e05245672e33963e5 (diff)
downloadmastodon_ynh-cd046117a5b300ba67faf4d6b25bb1c44fb774d2.tar.gz
mastodon_ynh-cd046117a5b300ba67faf4d6b25bb1c44fb774d2.tar.bz2
mastodon_ynh-cd046117a5b300ba67faf4d6b25bb1c44fb774d2.zip
example_ynh corrections
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 ff03433..28c136f 100644
--- a/scripts/install
+++ b/scripts/install
@@ -77,8 +77,8 @@ ynh_app_setting_set --app=$app --key=language --value=$language
ynh_script_progression --message="Configuring firewall..." --weight=1
# Find a free port
-port_web=$(ynh_find_port 3000)
-port_stream=$(ynh_find_port 4000)
+port_web=$(ynh_find_port --port=3000)
+port_stream=$(ynh_find_port --port=4000)
# Open this port
ynh_app_setting_set --app=$app --key=port_web --value=$port_web
ynh_app_setting_set --app=$app --key=port_stream --value=$port_stream
@@ -245,7 +245,7 @@ ynh_add_systemd_config --service="$app-streaming" --template="mastodon-streaming
ynh_script_progression --message="Storing the config file checksum..." --weight=1
# Calculate and store the config file checksum into the app settings
-ynh_store_file_checksum "${final_path}/live/.env.production"
+ynh_store_file_checksum --file="${final_path}/live/.env.production"
#=================================================
# GENERIC FINALIZATION