Skip to content

Commit

Permalink
Detach stderr in rpm initscript
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Heilman committed May 7, 2015
1 parent 8149381 commit 0a9958c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/rpm/init.d/grafana-server
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a9958c

Please sign in to comment.