Commit 8e3e7c3f authored by Dmitry Blinov's avatar Dmitry Blinov Committed by Esteban Blanc

pwr: add timeout on x server

parent 2c8fd59b
...@@ -391,7 +391,7 @@ pre-build = ...@@ -391,7 +391,7 @@ pre-build =
echo made a xorg dir $dirname echo made a xorg dir $dirname
echo $dirname > ./xorg-dirname echo $dirname > ./xorg-dirname
export XORG_LOCK_DIR=$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 = post-install =
PID=`pgrep -u "$(whoami)" -f -x '${xserver:location}/bin/Xorg.*'` || true #pgrep returns 1 on notfound 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