summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-12-19 12:58:16 +0800
committerKhem Raj <raj.khem@gmail.com>2019-12-19 13:56:59 -0800
commitf317eb0d04e06016b0929a1429e70c02a7636b88 (patch)
tree65ecb6b60f242b10aa43bab4e0294f50f13e1281
parenta597de10ea52ce415a41ff1f3864967b302e97c7 (diff)
downloadmeta-openembedded-f317eb0d04e06016b0929a1429e70c02a7636b88.tar.gz
openl2tp: update systemd service file
It shows an warning of openl2tp in systemd log: | /lib/systemd/system/openl2tpd.service:8: PIDFile= references a path | below legacy directory /var/run/, updating /var/run/openl2tpd.pid → | /run/openl2tpd.pid; please update the unit file accordingly. Update the systemd service file to fix the warning. Update SRC_URI as well that the homepage openl2tp.org has been closed. Use archived file on sourceforge instead. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service2
-rw-r--r--meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service
index 7b3faf6725..d02d0ff7ec 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service
@@ -5,7 +5,7 @@ Requires=rpcbind.service
5 5
6[Service] 6[Service]
7Type=forking 7Type=forking
8PIDFile=@STATEDIR@/run/openl2tpd.pid 8PIDFile=/run/openl2tpd.pid
9EnvironmentFile=@SYSCONFDIR@/default/openl2tpd 9EnvironmentFile=@SYSCONFDIR@/default/openl2tpd
10ExecStartPre=@BASE_BINDIR@/sh -c "@BASE_SBINDIR@/modprobe -sq l2tp_ppp || @BASE_SBINDIR@/modprobe -sq pppol2tp" 10ExecStartPre=@BASE_BINDIR@/sh -c "@BASE_SBINDIR@/modprobe -sq l2tp_ppp || @BASE_SBINDIR@/modprobe -sq pppol2tp"
11ExecStart=@SBINDIR@/openl2tpd $OPENL2TPDARGS 11ExecStart=@SBINDIR@/openl2tpd $OPENL2TPDARGS
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
index 90e8b111dc..9c0c28e197 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e9d9259cbbf00945adc25a470c1d3585 \
18 18
19DEPENDS = "popt flex readline rpcsvc-proto-native bison-native" 19DEPENDS = "popt flex readline rpcsvc-proto-native bison-native"
20 20
21SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \ 21SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
22 file://Makefile-modify-CFLAGS-to-aviod-build-error.patch \ 22 file://Makefile-modify-CFLAGS-to-aviod-build-error.patch \
23 file://openl2tp-simplify-gcc-warning-hack.patch \ 23 file://openl2tp-simplify-gcc-warning-hack.patch \
24 file://Makefile-obey-LDFLAGS.patch \ 24 file://Makefile-obey-LDFLAGS.patch \