diff --git a/conf/woodpecker-server.conf b/conf/woodpecker-server.conf index 3f99491..89991af 100644 --- a/conf/woodpecker-server.conf +++ b/conf/woodpecker-server.conf @@ -19,7 +19,7 @@ # Server fully qualified url of the user-facing hostname. # Default: empty # Example: WOODPECKER_HOST=http://woodpecker.example.org -WOODPECKER_HOST=https://__DOMAIN____PATH__ +WOODPECKER_HOST=https://__DOMAIN____PATH_NO_TRAILING_SLASH__ # Configures the HTTP listener port. # Default: :8000 diff --git a/scripts/install b/scripts/install index 3000711..7c974b0 100755 --- a/scripts/install +++ b/scripts/install @@ -69,6 +69,8 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 +path_no_trailing_slash=${path%/} + ynh_add_config --template="woodpecker-server.conf" --destination="$install_dir/woodpecker-server.conf" # chmod 400 "$install_dir/some_config_file" # chown $app:$app "$install_dir/some_config_file"