From 6b931e883ec0b815e40bd3f0911c8396d697999e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 23 Mar 2020 13:52:04 +0100 Subject: [PATCH] typo --- conf/systemd.service | 4 ++-- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index f626c23..7b13646 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,7 +1,7 @@ [Unit] Description=Wekan, task board -Wants=__MOGODB_SERVICENAME__.service -After=network.target __MOGODB_SERVICENAME__.service +Wants=__MONGODB_SERVICENAME__.service +After=network.target __MONGODB_SERVICENAME__.service [Service] Type=simple diff --git a/scripts/install b/scripts/install index e51b971..347ac42 100755 --- a/scripts/install +++ b/scripts/install @@ -134,7 +134,7 @@ ynh_print_info --message="Configuring a systemd service..." # Create a dedicated systemd config ynh_replace_string --match_string="__NODEJS_PATH__" --replace_string="$nodejs_path" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__MOGODB_SERVICENAME__" --replace_string="$mongodb_servicename" --target_file="../conf/systemd.service" +ynh_replace_string --match_string="__MONGODB_SERVICENAME__" --replace_string="$mongodb_servicename" --target_file="../conf/systemd.service" ynh_add_systemd_config #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 42045cd..1119fca 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -203,7 +203,7 @@ ynh_print_info --message="Upgrading systemd configuration..." # Create a dedicated systemd config ynh_replace_string --match_string="__NODEJS_PATH__" --replace_string="$nodejs_path" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__MOGODB_SERVICENAME__" --replace_string="$mongodb_servicename" --target_file="../conf/systemd.service" +ynh_replace_string --match_string="__MONGODB_SERVICENAME__" --replace_string="$mongodb_servicename" --target_file="../conf/systemd.service" ynh_add_systemd_config #=================================================