Change-Id: I5588c03d0861a1582f7a3cb7f98a73a93fb1c69c
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
backend=
# Use the Weston DRM backend if $DISPLAY is set and X isn't running
backend=
# Use the Weston DRM backend if $DISPLAY is set and X isn't running
-#since Weston won't be able use the X11 backend.
+# since Weston won't be able use the X11 backend.
#
# This allows this script to start Weston with either the X11 or DRM
#
# This allows this script to start Weston with either the X11 or DRM
if [ -z `pidof Xorg` ] && [ -n "$DISPLAY" ]; then
backend="--backend=drm-backend.so"
fi
if [ -z `pidof Xorg` ] && [ -n "$DISPLAY" ]; then
backend="--backend=drm-backend.so"
fi
DESC="Weston compositor"
NAME=weston
DAEMON=/usr/bin/weston
DESC="Weston compositor"
NAME=weston
DAEMON=/usr/bin/weston
-DAEMON_ARGS="$backend --log=/var/log/weston.log"
+DAEMON_ARGS="$backend --log=/var/log/weston.log --idle-time=0"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME