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:
Otavio Salvador
2012-03-03 04:33:54 +00:00
committed by Koen Kooi
parent 81dc4e7028
commit c999d04b7f
2 changed files with 1 additions and 2 deletions
+1 -1
View 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 \
@@ -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]