Mercurial > libervia-backend
view docker/backend-dev-e2e/scripts/entrypoint.sh @ 3524:584379473925
tools (common/utils): new methods to parse and generate file size with symbols:
- `parseSize` lets parse a size which can be either a int, or a string with a symbol like
`Mio`
- `getSizeMultiplier` returns a tuple of size with it's multiplier symbol
- `getHumanSize` returns a string with size and adapted multiplier.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 May 2021 15:37:33 +0200 |
parents | 73e04040d577 |
children |
line wrap: on
line source
#!/bin/sh eval $(dbus-launch --sh-syntax) nohup /usr/bin/Xtigervnc -geometry 1024x768 -desktop "Libervia e2e test" -rfbport 5900 -SecurityTypes None :0 & nohup openbox & exec libervia-backend fg