atftp: fix atftpd's systemd service
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 3 Mar 2012 04:33:54 +0000 (04:33 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:19:21 +0000 (08:19 -0800)
The atftpd do not create the pid file and systemd sends a SIGTERM to
it if the pid file cannot be found.

(From meta-openembedded rev: c999d04b7f83199f23343d6761d5480cd8267c5d)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-extended/atftp/atftp_0.7.bb
meta-openembedded/meta-oe/recipes-extended/atftp/files/atftpd.service

index 6bd44a0..1af4b63 100644 (file)
@@ -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 \
index c7aa29c..480bc70 100644 (file)
@@ -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]