Browse Source

Detach stderr in rpm initscript

Ben Heilman 10 years ago
parent
commit
0a9958c74e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packaging/rpm/init.d/grafana-server

+ 1 - 1
packaging/rpm/init.d/grafana-server

@@ -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