From fe0159dec814d0ec5c6079bed64303da0a4f6a1c Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 15 Jun 2022 21:53:04 +0530 Subject: [PATCH] fix ynh_add_systemd_config I forgot to add `ynh_add_systemd_config` before :p --- scripts/change_url | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 5fc3559..a932008 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -93,8 +93,10 @@ then # Make a backup of the original Systemd file if modified ynh_backup_if_checksum_is_different --file="$systemd_conf_path" - + # Get value for systemd helper datadir=$(ynh_app_setting_get --app=$app --key=datadir) + # Create systemd service + ynh_add_systemd_config fi # Change the domain for NGINX