File size: 381 Bytes
ac2af53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -eu
until xdpyinfo -display "${DISPLAY:-:99}" >/dev/null 2>&1; do
  sleep 0.25
done

exec /usr/bin/chromium \
  --no-sandbox \
  --disable-dev-shm-usage \
  --no-first-run \
  --no-default-browser-check \
  --password-store=basic \
  --user-data-dir="${BROWSER_PROFILE}" \
  --window-size="${BROWSER_WIDTH},${BROWSER_HEIGHT}" \
  --start-maximized \
  "${START_URL}"