Commit 0a9958c7 by Ben Heilman

Detach stderr in rpm initscript

parent 8149381f
...@@ -82,7 +82,7 @@ case "$1" in ...@@ -82,7 +82,7 @@ case "$1" in
# Start Daemon # Start Daemon
cd $GRAFANA_HOME 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=$? return=$?
if [ $return -eq 0 ] if [ $return -eq 0 ]
then then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment