Package: dh-make
Version: 0.59
Severity: normal

Hi,

Making a Debian package, I add a initscript. dh-make created package.init.
And one of lines is:
start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS

But doing that, even if I pass an argument to $DAEMON_OPTS, it is not applied.
In my case, I put "-l 1", this option wasn't seen at runtime of the daemon.

The only way I found to fix the problem was moving -- before $DAEMON and after 
$PIDFILE, instead of after $DAEMON.

It's probably a bug I guess.

Maybe could be fixed? Or it can work properly in other circumstances?
Because I'm sure I didn't change this line myself, it was generated by dh-make.

I can test again if you want.


Regards, thanks

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make depends on:
ii  debhelper                     8.9.1      helper programs for debian/rules
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  make                          3.81-8.1   An utility for Directing compilati
ii  perl                          5.12.4-1   Larry Wall's Practical Extraction 

dh-make recommends no packages.

Versions of packages dh-make suggests:
ii  build-essential               11.5       Informational list of build-essent

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to