summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-03-03 04:33:54 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-03-04 18:05:00 +0100
commitc999d04b7f83199f23343d6761d5480cd8267c5d (patch)
treee4f3ad83775f8c74ef09d5526d7dd705878cc927 /meta-oe/recipes-extended
parent81dc4e7028c4986aa253a24dfbfe7058d904ae16 (diff)
downloadmeta-openembedded-c999d04b7f83199f23343d6761d5480cd8267c5d.tar.gz
atftp: fix atftpd's systemd service
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> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/atftp/atftp_0.7.bb2
-rw-r--r--meta-oe/recipes-extended/atftp/files/atftpd.service1
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 6bd44a0c7..1af4b6329 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"
3HOMEPAGE = "http://packages.debian.org/atftp" 3HOMEPAGE = "http://packages.debian.org/atftp"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
6PR = "r2" 6PR = "r3"
7 7
8SRC_URI = "${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg.orig.tar.gz;name=archive \ 8SRC_URI = "${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg.orig.tar.gz;name=archive \
9 ${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg-11.diff.gz;name=patch \ 9 ${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 c7aa29c09..480bc702e 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
4 4
5[Service] 5[Service]
6Type=forking 6Type=forking
7PIDFile=/var/run/atftpd.pid
8ExecStart=/usr/sbin/atftpd --daemon --port 69 7ExecStart=/usr/sbin/atftpd --daemon --port 69
9 8
10[Install] 9[Install]