Correct process identification writing of PID file on -P parameter.

Mon, 25 Aug 2014 19:07:19 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 25 Aug 2014 19:07:19 +0200
changeset 796
02101011a9bc
parent 795
ef076e9bc56b
child 797
ded2db56a196

Correct process identification writing of PID file on -P parameter.

tftp/rc.tftp file | annotate | diff | comparison | revisions
tftp/tftp.spec file | annotate | diff | comparison | revisions
     1.1 --- a/tftp/rc.tftp	Mon Aug 25 19:06:31 2014 +0200
     1.2 +++ b/tftp/rc.tftp	Mon Aug 25 19:07:19 2014 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4  %start -u @l_susr@
     1.5      rcService tftp enable yes || exit 0
     1.6      rcService tftp active yes && exit 0
     1.7 -    opts="-l -u @l_nusr@ -m @l_prefix@/etc/tftp/tftpd.remap"
     1.8 +    opts="-l -u @l_nusr@ -m @l_prefix@/etc/tftp/tftpd.remap -P$tftp_pidfile"
     1.9      if [ ".$tftp_listen" != . ]; then
    1.10          opts="$opts -a $tftp_listen"
    1.11      fi
     2.1 --- a/tftp/tftp.spec	Mon Aug 25 19:06:31 2014 +0200
     2.2 +++ b/tftp/tftp.spec	Mon Aug 25 19:07:19 2014 +0200
     2.3 @@ -32,7 +32,7 @@
     2.4  Group:        FTP
     2.5  License:      GPL
     2.6  Version:      5.2
     2.7 -Release:      20140301
     2.8 +Release:      20140800
     2.9  
    2.10  #   package options
    2.11  %option       with_fsl  yes

mercurial