From 7152d8f08f5e7fdc2c6ace3c3fbaec696af7b5c1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 15 Jan 2022 12:06:50 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 337ee8f..87ea78b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,7 +99,10 @@ ynh_script_progression --message="Configuring application..." ynh_add_config --template="../conf/sogo.conf" --destination="/etc/$app/sogo.conf" # Configure stunnel -config_stunnel +ynh_add_config --template="../conf/stunnel.conf" --destination="/etc/stunnel/$app.conf" + +# Enable stunnel at startup +ynh_replace_string --match_string="ENABLED=0" --replace_string="ENABLED=1" --target_file="/etc/default/stunnel4" #================================================= # SETUP A CRON