From 613e21c4ff4db6e8f4648cd4eafa27a6dbc8a173 Mon Sep 17 00:00:00 2001 From: Sukchan Lee Date: Mon, 5 Apr 2021 20:32:27 +0900 Subject: [PATCH] [PKG] fix debian mongod dependency problem (#915) --- configs/systemd/open5gs-nrfd.service.in | 2 +- configs/systemd/open5gs-pcfd.service.in | 2 +- configs/systemd/open5gs-udrd.service.in | 2 +- docs/assets/webui/install | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/configs/systemd/open5gs-nrfd.service.in b/configs/systemd/open5gs-nrfd.service.in index 5bdc0a41c..b36b0f48d 100644 --- a/configs/systemd/open5gs-nrfd.service.in +++ b/configs/systemd/open5gs-nrfd.service.in @@ -1,6 +1,6 @@ [Unit] Description=Open5GS NRF Daemon -After=networking.service +Wants=mongodb.service mongod.service [Service] Type=simple diff --git a/configs/systemd/open5gs-pcfd.service.in b/configs/systemd/open5gs-pcfd.service.in index 0e15ba9ca..ce68f7a68 100644 --- a/configs/systemd/open5gs-pcfd.service.in +++ b/configs/systemd/open5gs-pcfd.service.in @@ -1,6 +1,6 @@ [Unit] Description=Open5GS PCF Daemon -After=networking.service +Wants=mongodb.service mongod.service [Service] Type=simple diff --git a/configs/systemd/open5gs-udrd.service.in b/configs/systemd/open5gs-udrd.service.in index ee2686096..5641c4b31 100644 --- a/configs/systemd/open5gs-udrd.service.in +++ b/configs/systemd/open5gs-udrd.service.in @@ -1,6 +1,6 @@ [Unit] Description=Open5GS UDR Daemon -After=networking.service +Wants=mongodb.service mongod.service [Service] Type=simple diff --git a/docs/assets/webui/install b/docs/assets/webui/install index dcc9b726e..99307ce28 100644 --- a/docs/assets/webui/install +++ b/docs/assets/webui/install @@ -237,8 +237,7 @@ exec_cmd_nobail "chown -R open5gs:open5gs /usr/lib/node_modules/${PACKAGE}" exec_cmd "cat << EOF > /lib/systemd/system/open5gs-webui.service [Unit] Description=Open5GS WebUI -BindTo=mongodb.service -After=networking.service mongodb.service +Wants=mongodb.service mongod.service [Service] Type=simple