mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Fixed xsd.initrc $ARGS passing
This commit is contained in:
parent
977380e61f
commit
15a1a39d81
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ XSD_USER=root
|
||||||
XSD_HOME=/var/run
|
XSD_HOME=/var/run
|
||||||
INST_PREFIX=/usr/local
|
INST_PREFIX=/usr/local
|
||||||
COMMAND=$INST_PREFIX/sbin/xsd
|
COMMAND=$INST_PREFIX/sbin/xsd
|
||||||
ARGS=""
|
ARGS="-L"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
|
@ -28,7 +28,7 @@ start() {
|
||||||
-d ${XSD_HOME} \
|
-d ${XSD_HOME} \
|
||||||
--make-pidfile --pidfile ${XSD_PIDFILE} \
|
--make-pidfile --pidfile ${XSD_PIDFILE} \
|
||||||
--start --quiet --background \
|
--start --quiet --background \
|
||||||
--exec "${COMMAND}" "${ARGS}"
|
--exec "${COMMAND}" -- "${ARGS}"
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue