mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 17:32:51 +00:00
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>
This commit is contained in:
parent
81dc4e7028
commit
c999d04b7f
@ -3,7 +3,7 @@ SECTION = "network"
|
|||||||
HOMEPAGE = "http://packages.debian.org/atftp"
|
HOMEPAGE = "http://packages.debian.org/atftp"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
|
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 \
|
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 \
|
${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg-11.diff.gz;name=patch \
|
||||||
|
|||||||
@ -4,7 +4,6 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/var/run/atftpd.pid
|
|
||||||
ExecStart=/usr/sbin/atftpd --daemon --port 69
|
ExecStart=/usr/sbin/atftpd --daemon --port 69
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user