|
@@ -169,5 +169,13 @@ echo "[desktop] Starting XFCE..."
|
|
|
xfce4-session &
|
|
xfce4-session &
|
|
|
XFCE_PID=$!
|
|
XFCE_PID=$!
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+if ! pgrep -x steam >/dev/null 2>&1; then
|
|
|
|
|
+ sleep 10
|
|
|
|
|
+
|
|
|
|
|
+ echo "[desktop] Starting Steam in background..."
|
|
|
|
|
+ steam -silent >/home/ubuntu/.steam-startup.log 2>&1 &
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
# Keep the Supervisor program alive for the lifetime of the desktop session.
|
|
# Keep the Supervisor program alive for the lifetime of the desktop session.
|
|
|
wait "${XFCE_PID}"
|
|
wait "${XFCE_PID}"
|