fix wrong message
This commit is contained in:
parent
5fa1bcceab
commit
f74ac60865
@ -70,7 +70,7 @@ case "$1" in
|
||||
rm -f $IPFS_PID_FILE
|
||||
;;
|
||||
console)
|
||||
log_daemon_msg "Restarting rsync daemon" "ipfs"
|
||||
log_daemon_msg "Restarting ipfs daemon"
|
||||
if [ -s $IPFS_PID_FILE ] && kill -0 $(cat $IPFS_PID_FILE) >/dev/null 2>&1; then
|
||||
start-stop-daemon --stop --quiet --oknodo --pidfile $IPFS_PID_FILE || true
|
||||
sleep 1
|
||||
@ -82,7 +82,7 @@ case "$1" in
|
||||
ipfs_console
|
||||
;;
|
||||
restart)
|
||||
log_daemon_msg "Restarting rsync daemon" "ipfs"
|
||||
log_daemon_msg "Restarting ipfs daemon"
|
||||
if [ -s $IPFS_PID_FILE ] && kill -0 $(cat $IPFS_PID_FILE) >/dev/null 2>&1; then
|
||||
start-stop-daemon --stop --quiet --oknodo --pidfile $IPFS_PID_FILE || true
|
||||
sleep 1
|
||||
|
Loading…
Reference in New Issue
Block a user