start-stop-daemon and quoting in arguments
Hi list,
somehow I'm lost with start-stop-daemon and quoting. I'm trying to let
a self-recompiled slapd server both ldap and ldaps. When invoked from
the command line with
slapd -d 255 -h "ldap:/// ldaps:///"
the debug output shows that both options are accepted. But I don't
manage to create that line with start-stop-daemon. I've tried any
combination of quoting the '"', the blank between the two entries or
quoting nothing, none of them worked. Some examples:
start-stop-daemon --start --exec /usr/bin/slapd -- -h "ldap:/// ldaps:///"
start-stop-daemon --start --exec /usr/bin/slapd -- -h "\"ldap:/// ldaps:///\""
start-stop-daemon --start --exec /usr/bin/slapd -- -h "ldap:///\ ldaps:///"
start-stop-daemon --start --exec /usr/bin/slapd -- -h "ldap:///\\ ldaps:///"
None of them worked. I feel really stuck. Please help me :-}
In advance,
Karsten
--
Karsten Heymann <karsten.heymann@gmx.de> <karsten@ecology.uni-kiel.de>
CAU-University Kiel, Germany
Registered Linux User #221014 (http://counter.li.org)
Reply to: