Mercurial > libervia-backend
view docker/backend/scripts/entrypoint.sh @ 3480:7550ae9cfbac
Renamed the project from "Salut à Toi" to "Libervia":
This renaming follows the decision taken at the General Assemblee of January 27th 2021 (cf.
https://repos.goffi.org/sat_docs/raw-file/tip/association/2021-01-27%20-%20compte%20rendu%20de%20l%27AG%20extraordinaire.pdf)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 20 Mar 2021 20:42:04 +0100 |
parents | 127dde80a0a5 |
children |
line wrap: on
line source
#!/bin/sh eval $(dbus-launch --sh-syntax) # default, backend is launched in foreground if [ $# -eq 0 ] then exec sat fg fi # backend is launched with an explicit subcommand if [ $1 = fg -o $1 = bg -o $1 = debug -o $1 = stop -o $1 = status ] then exec sat "$@" fi # a whole command is specified sat bg exec "$@"