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

login
register
mail settings
Submitter Otavio Salvador
Date March 3, 2012, 4:33 a.m.
Message ID <405a0c3dbd45bd3877a5a80c2add9b463045c97c.1330749219.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/22613/
State Accepted
Commit c999d04b7f83199f23343d6761d5480cd8267c5d
Headers show

Comments

Otavio Salvador - March 3, 2012, 4:33 a.m.
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@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(-)

Patch

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]