|
Lines 152-158
Link Here
|
| 152 |
|
152 |
|
| 153 |
echo -n "Reload service $DAEMON" |
153 |
echo -n "Reload service $DAEMON" |
| 154 |
|
154 |
|
| 155 |
if "$SUPPORTS_HUP" = "yes" ; then |
155 |
if [ "$SUPPORTS_HUP" = "yes" ]; then |
| 156 |
killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN |
156 |
killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN |
| 157 |
#touch $DAEMON_PIDFILE |
157 |
#touch $DAEMON_PIDFILE |
| 158 |
rc_status -v |
158 |
rc_status -v |
|
Lines 165-171
Link Here
|
| 165 |
## Like force-reload, but if daemon does not support |
165 |
## Like force-reload, but if daemon does not support |
| 166 |
## signalling, do nothing (!) |
166 |
## signalling, do nothing (!) |
| 167 |
|
167 |
|
| 168 |
if "$SUPPORTS_HUP" = "yes" ; then |
168 |
if [ "$SUPPORTS_HUP" = "yes" ]; then |
| 169 |
# If it supports signalling: |
169 |
# If it supports signalling: |
| 170 |
echo -n "Reload service $DAEMON" |
170 |
echo -n "Reload service $DAEMON" |
| 171 |
killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN |
171 |
killproc -p $DAEMON_PIDFILE -HUP $DAEMON_BIN |