From f72aa7a4686311e419a4a5c8a05b9ba2ac1ff8e7 Mon Sep 17 00:00:00 2001 From: Sukchan Lee Date: Sat, 28 Oct 2017 19:50:50 +0900 Subject: [PATCH] systemd update --- support/systemd/nextepc-hssd.service.in | 3 ++- support/systemd/nextepc-pcrfd.service.in | 3 ++- support/systemd/nextepc-pgwd.service.in | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/support/systemd/nextepc-hssd.service.in b/support/systemd/nextepc-hssd.service.in index d4a7d66d0..3fb21521d 100644 --- a/support/systemd/nextepc-hssd.service.in +++ b/support/systemd/nextepc-hssd.service.in @@ -1,10 +1,11 @@ [Unit] Description=NextEPC HSS Daemon -After=networking.service +After=networking.service mongodb.service [Service] Type=simple Restart=always +ExecStartPre=/bin/sleep 2 ExecStart=@BIN_DIR@/nextepc-hssd -f @SYSCONF_DIR@/nextepc/hss.conf RestartSec=2 RestartPreventExitStatus=1 diff --git a/support/systemd/nextepc-pcrfd.service.in b/support/systemd/nextepc-pcrfd.service.in index b9c59a495..a99a9b67d 100644 --- a/support/systemd/nextepc-pcrfd.service.in +++ b/support/systemd/nextepc-pcrfd.service.in @@ -1,10 +1,11 @@ [Unit] Description=NextEPC PCRF Daemon -After=networking.service +After=networking.service mongodb.service [Service] Type=simple Restart=always +ExecStartPre=/bin/sleep 2 ExecStart=@BIN_DIR@/nextepc-pcrfd -f @SYSCONF_DIR@/nextepc/pcrf.conf RestartSec=2 RestartPreventExitStatus=1 diff --git a/support/systemd/nextepc-pgwd.service.in b/support/systemd/nextepc-pgwd.service.in index 5e040b248..2ea2226c5 100644 --- a/support/systemd/nextepc-pgwd.service.in +++ b/support/systemd/nextepc-pgwd.service.in @@ -1,5 +1,5 @@ [Unit] -Description=NextEPC S-GW Daemon +Description=NextEPC P-GW Daemon After=networking.service [Service]