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