Commit 6bfeec17 authored by Dmitry Blinov's avatar Dmitry Blinov

pwr: add timeout on x server

parent a8b2b6e9
......@@ -391,7 +391,7 @@ pre-build =
echo made a xorg dir $dirname
echo $dirname > ./xorg-dirname
export XORG_LOCK_DIR=$dirname
${xserver:location}/bin/Xorg -noreset +extension RANDR +extension RENDER -config ${:compile-dir}/src/tools/dummy_display/xorg.conf :99 &
timeout 2h ${xserver:location}/bin/Xorg -noreset +extension RANDR +extension RENDER -config ${:compile-dir}/src/tools/dummy_display/xorg.conf :99 &
post-install =
PID=`pgrep -u "$(whoami)" -f -x '${xserver:location}/bin/Xorg.*'` || true #pgrep returns 1 on notfound
......
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