Store checksum for app.ini with INTERNAL_TOKEN value

This commit is contained in:
Josué Tille 2019-02-16 12:59:32 +01:00
parent 910777fd35
commit 45c0460c4f
No known key found for this signature in database
GPG Key ID: D5E068C6DFA8681D
3 changed files with 12 additions and 0 deletions

View File

@ -51,3 +51,7 @@ config_gitea
# RELOAD services # RELOAD services
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" -a restart ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" -a restart
# Store the checksum with the 'INTERNAL_TOKEN' value.
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
ynh_store_file_checksum "$final_path/custom/conf/app.ini"

View File

@ -114,3 +114,7 @@ ynh_use_logrotate "/var/log/$app"
# Reload services # Reload services
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
# Store the checksum with the 'INTERNAL_TOKEN' value.
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
ynh_store_file_checksum "$final_path/custom/conf/app.ini"

View File

@ -111,3 +111,7 @@ set_access_settings
# Reload services # Reload services
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
# Store the checksum with the 'INTERNAL_TOKEN' value.
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
ynh_store_file_checksum "$final_path/custom/conf/app.ini"