Make start/stop messages consistent with other ports.
This commit is contained in:
parent
56fb4687d0
commit
c2e4f0f15f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101170
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ DICTD_PID_FILE=/var/run/dictd.pid
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
if [ -x $DICTD ]; then
|
if [ -x $DICTD ]; then
|
||||||
${ECHO} "dictd starting."
|
${ECHO} -n " dictd"
|
||||||
$DICTD $DICTD_OPTIONS
|
$DICTD $DICTD_OPTIONS
|
||||||
${ECHO} `${SOCKSTAT} | ${GREP} dictd | ${AWK} '{print $3}'` > ${DICTD_PID_FILE}
|
${ECHO} `${SOCKSTAT} | ${GREP} dictd | ${AWK} '{print $3}'` > ${DICTD_PID_FILE}
|
||||||
else
|
else
|
||||||
|
@ -33,7 +33,7 @@ case "$1" in
|
||||||
fi
|
fi
|
||||||
dictdpid=`${CAT} $DICTD_PID_FILE`
|
dictdpid=`${CAT} $DICTD_PID_FILE`
|
||||||
if [ "$dictdpid" -gt 0 ]; then
|
if [ "$dictdpid" -gt 0 ]; then
|
||||||
${ECHO} "Stopping the dictd server."
|
${ECHO} -n " dictd"
|
||||||
${KILL} -15 $dictdpid 2>&1 > /dev/null
|
${KILL} -15 $dictdpid 2>&1 > /dev/null
|
||||||
fi
|
fi
|
||||||
${RM} -f $DICTD_PID_FILE
|
${RM} -f $DICTD_PID_FILE
|
||||||
|
|
Loading…
Reference in a new issue