diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-03-03 04:33:54 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-04 18:05:00 +0100 |
commit | c999d04b7f83199f23343d6761d5480cd8267c5d (patch) | |
tree | e4f3ad83775f8c74ef09d5526d7dd705878cc927 /meta-oe/recipes-extended | |
parent | 81dc4e7028c4986aa253a24dfbfe7058d904ae16 (diff) | |
download | meta-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.bb | 2 | ||||
-rw-r--r-- | meta-oe/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 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" | |||
3 | HOMEPAGE = "http://packages.debian.org/atftp" | 3 | HOMEPAGE = "http://packages.debian.org/atftp" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" |
6 | PR = "r2" | 6 | PR = "r3" |
7 | 7 | ||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg.orig.tar.gz;name=archive \ | 8 | SRC_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] |
6 | Type=forking | 6 | Type=forking |
7 | PIDFile=/var/run/atftpd.pid | ||
8 | ExecStart=/usr/sbin/atftpd --daemon --port 69 | 7 | ExecStart=/usr/sbin/atftpd --daemon --port 69 |
9 | 8 | ||
10 | [Install] | 9 | [Install] |