Skip to content

Commit

Permalink
We also need to export DISPLAY variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
esycat committed Nov 14, 2013
1 parent e00155d commit 23eff96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init.d/selenium
Expand Up @@ -17,6 +17,8 @@ start() {
mkdir -p "$LOGFILE_DIR" "$PIDFILE_DIR"
chown -R $SELENIUM_USER "$LOGFILE_DIR" "$PIDFILE_DIR"

export DISPLAY

start-stop-daemon $DAEMON_ARGS --start --background --make-pidfile --chuid $SELENIUM_USER --exec $DAEMON_CMD
RETVAL="$?"

Expand Down

0 comments on commit 23eff96

Please sign in to comment.