[oe] [PATCH][meta-oe 1/1] atftp: fix atftpd's systemd service

Otavio Salvador otavio at ossystems.com.br
Sat Mar 3 04:33:54 UTC 2012


The atftpd do not create the pid file and systemd sends a SIGTERM to
it if the pid file cannot be found.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 meta-oe/recipes-extended/atftp/atftp_0.7.bb        |    2 +-
 .../recipes-extended/atftp/files/atftpd.service    |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-extended/atftp/atftp_0.7.bb b/meta-oe/recipes-extended/atftp/atftp_0.7.bb
index 6bd44a0..1af4b63 100644
--- a/meta-oe/recipes-extended/atftp/atftp_0.7.bb
+++ b/meta-oe/recipes-extended/atftp/atftp_0.7.bb
@@ -3,7 +3,7 @@ SECTION = "network"
 HOMEPAGE = "http://packages.debian.org/atftp"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg.orig.tar.gz;name=archive \
            ${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg-11.diff.gz;name=patch \
diff --git a/meta-oe/recipes-extended/atftp/files/atftpd.service b/meta-oe/recipes-extended/atftp/files/atftpd.service
index c7aa29c..480bc70 100644
--- a/meta-oe/recipes-extended/atftp/files/atftpd.service
+++ b/meta-oe/recipes-extended/atftp/files/atftpd.service
@@ -4,7 +4,6 @@ After=syslog.target network.target
 
 [Service]
 Type=forking
-PIDFile=/var/run/atftpd.pid
 ExecStart=/usr/sbin/atftpd --daemon --port 69
 
 [Install]
-- 
1.7.2.5





More information about the Openembedded-devel mailing list