do debian packaging (stage-1)

This commit is contained in:
Sukchan Lee 2017-10-27 03:15:14 +00:00
parent b08c91190a
commit e367b00d2c
26 changed files with 86 additions and 199 deletions

View file

@ -1,16 +0,0 @@
unitfiles = \
nextepc-mmed.service \
nextepc-sgwd.service \
nextepc-pgwd.service \
nextepc-pcrfd.service \
nextepc-hssd.service \
$(NULL)
unitdir = ${systemd_unit_dir}
unit_DATA = $(unitfiles)
EXTRA_DIST = $(unitfiles)
MAINTAINERCLEANFILES = Makefile.in
MOSTLYCLEANFILES = *.stackdump

View file

@ -5,7 +5,7 @@ After=networking.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/nextepc-hssd -f /etc/nextepc/hss.cfg
ExecStart=@BIN_DIR@/nextepc-hssd -f @SYSCONF_DIR@/nextepc/hss.conf
RestartSec=2
RestartPreventExitStatus=1

View file

@ -5,7 +5,7 @@ After=networking.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/nextepc-mmed -f /etc/nextepc/mme.cfg
ExecStart=@BIN_DIR@/nextepc-mmed -f @SYSCONF_DIR@/nextepc/mme.conf
RestartSec=2
RestartPreventExitStatus=1

View file

@ -5,7 +5,7 @@ After=networking.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/nextepc-pcrfd -f /etc/nextepc/pcrfd.cfg
ExecStart=@BIN_DIR@/nextepc-pcrfd -f @SYSCONF_DIR@/nextepc/pcrf.conf
RestartSec=2
RestartPreventExitStatus=1

View file

@ -5,7 +5,7 @@ After=networking.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/nextepc-pgwd -f /etc/nextepc/pgw.cfg
ExecStart=@BIN_DIR@/nextepc-pgwd -f @SYSCONF_DIR@/nextepc/pgw.conf
RestartSec=2
RestartPreventExitStatus=1

View file

@ -5,7 +5,7 @@ After=networking.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/nextepc-sgwd -f /etc/nextepc/sgw.cfg
ExecStart=@BIN_DIR@/nextepc-sgwd -f @SYSCONF_DIR@/nextepc/sgw.conf
RestartSec=2
RestartPreventExitStatus=1