mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
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>
This commit is contained in:
@@ -5,7 +5,7 @@ Requires=rpcbind.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=@STATEDIR@/run/openl2tpd.pid
|
||||
PIDFile=/run/openl2tpd.pid
|
||||
EnvironmentFile=@SYSCONFDIR@/default/openl2tpd
|
||||
ExecStartPre=@BASE_BINDIR@/sh -c "@BASE_SBINDIR@/modprobe -sq l2tp_ppp || @BASE_SBINDIR@/modprobe -sq pppol2tp"
|
||||
ExecStart=@SBINDIR@/openl2tpd $OPENL2TPDARGS
|
||||
|
||||
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e9d9259cbbf00945adc25a470c1d3585 \
|
||||
|
||||
DEPENDS = "popt flex readline rpcsvc-proto-native bison-native"
|
||||
|
||||
SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
|
||||
file://Makefile-modify-CFLAGS-to-aviod-build-error.patch \
|
||||
file://openl2tp-simplify-gcc-warning-hack.patch \
|
||||
file://Makefile-obey-LDFLAGS.patch \
|
||||
|
||||
Reference in New Issue
Block a user