Detach stderr in rpm initscript

This commit is contained in:
Ben Heilman 2015-05-07 14:47:27 -05:00
parent 8149381f01
commit 0a9958c74e

View File

@ -82,7 +82,7 @@ case "$1" in
# Start Daemon
cd $GRAFANA_HOME
su -s /bin/sh -c "nohup ${DAEMON} ${DAEMON_OPTS} >> /dev/null 3>&1 &" $GRAFANA_USER
su -s /bin/sh -c "nohup ${DAEMON} ${DAEMON_OPTS} >> /dev/null 3>&1 &" $GRAFANA_USER 2> /dev/null
return=$?
if [ $return -eq 0 ]
then