redirect all output from start_daemon to /dev/null
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# maxscale: The MariaDB Corporation MaxScale database proxy
|
# maxscale: The MariaDB Corporation MaxScale database proxy
|
||||||
#
|
#
|
||||||
@ -58,7 +58,7 @@ RETVAL=0
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
log_daemon_msg "Starting MaxScale"
|
log_daemon_msg "Starting MaxScale"
|
||||||
start_daemon -p $MAXSCALE_PIDFILE $DAEMON 2> /dev/null
|
start_daemon -p $MAXSCALE_PIDFILE $DAEMON 2> /dev/null > /dev/null
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user