cesium-ml / baselayer

Fully customizable (scientific, compute-intensive) web application template
http://cesium-ml.org/baselayer/
30 stars 18 forks source link

db_init: detect when sudo is available #257

Closed stefanv closed 2 years ago

stefanv commented 2 years ago

On some platforms, commonly Docker containers, sudo is missing. Don't try to invoke it if we can't find it.

Closes https://github.com/skyportal/skyportal/issues/968