]> code.ossystems Code Review - openembedded-core.git/commitdiff
at: atd remove useless --make-pidfile option.
authorXin Ouyang <Xin.Ouyang@windriver.com>
Wed, 26 Sep 2012 07:09:13 +0000 (15:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Sep 2012 13:53:28 +0000 (14:53 +0100)
For start-stop-daemon, --make-pidfile is used when starting a
program that does not create its own pid file.
atd would create its own /var/run/atd.pid, so remove this option.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/at/at_3.1.13.bb
meta/recipes-extended/at/files/S99at

index a391d6ebefa33c10cde055cf0d5f94552bfb2d21..3580e0965aa4800914136b91a5530080016259c6 100644 (file)
@@ -11,7 +11,7 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits"
 
 RCONFLICTS_${PN} = "atd"
 RREPLACES_${PN} = "atd"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
     file://configure.patch \
index bcfcbdae21a9cea56f19aee7c0f12f82af2b3288..386f8a497e49e0b4a2d805d9f12660090d0cef41 100644 (file)
@@ -7,7 +7,7 @@ umask 077
 
 start() {
        echo -n "Starting atd: "
-       start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f
+       start-stop-daemon --start --quiet --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f
        echo "OK"
 }
 stop() {