mirror of
https://github.com/YunoHost-Apps/woodpecker_ynh.git
synced 2024-09-03 20:35:57 +02:00
Merge branch 'testing' of https://github.com/YunoHost-Apps/woodpecker_ynh into testing
This commit is contained in:
commit
decabc422e
1 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,18 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
|
||||||
|
|
||||||
ynh_change_url_nginx_config
|
ynh_change_url_nginx_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# MODIFY URL IN WOODPECKER CONF
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Updating configuration file..." --weight=1
|
||||||
|
|
||||||
|
path_no_trailing_slash=${path%/}
|
||||||
|
_woodpecker_set_forge_config
|
||||||
|
|
||||||
|
ynh_add_config --template="woodpecker-server.conf" --destination="$install_dir/woodpecker-server.conf"
|
||||||
|
chmod 400 "$install_dir/woodpecker-server.conf"
|
||||||
|
chown "$app:$app" "$install_dir/woodpecker-server.conf"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALISATION
|
# GENERIC FINALISATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue