Skylab启动和关闭
source /usr/local/oushu/lavam/install/single-env.sh
su postgres -c "source /usr/local/oushu/lavam/install/pg-env.sh || true;pg_ctl start -l \$PGLOG"
sudo lavaserver start
lavaadmin start
lavaadmin prometheus start
lava-dataend start
sudo /usr/local/nginx/sbin/nginx start
sudo lavaserver stop
lavaadmin stop
lavaadmin prometheus stop
lava-dataend stop
sudo /usr/local/nginx/sbin/nginx -s stop
su postgres -c "source /usr/local/oushu/lavam/install/pg-env.sh || true;pg_ctl stop -l \$PGLOG"