skyline-apiserver/devstack/settings
zhu.boxiang 6494ff6a46 fix: Fix the log_dir
If the log_dir is /var/log/kolla, and when we
deploy with devstack, we only chown the permission
for /var/log/kolla/skyline with stack user.
But the permission for /var/log/kolla is still root.
So it can not be access by stack user.
We will both change the log_dir in skyline-console
project.

Change-Id: I852c44cda2f9879aa8d8e405bb39bba13f35b8ca
2022-03-14 10:22:24 +08:00

25 lines
966 B
Plaintext

# Devstack settings
# We have to add Skyline to enabled services for run_process to work
# "skyline" should be always enabled
# To run all services in one screen as a one process need to write:
# enable_service skyline
enable_service skyline
SKYLINE_APISERVER_REPO=${SKYLINE_APISERVER_REPO:-https://opendev.org/openstack/skyline-apiserver.git}
SKYLINE_APISERVER_BRANCH=${SKYLINE_APISERVER_BRANCH:-master}
SKYLINE_APISERVER_DIR=${DEST}/skyline-apiserver
GITREPO["skyline-console"]=${SKYLINE_CONSOLE_REPO:-${GIT_BASE}/openstack/skyline-console.git}
GITBRANCH["skyline-console"]=${SKYLINE_CONSOLE_BRANCH:-master}
GITDIR["skyline-console"]=$DEST/skyline-console
# Set up default directories
SKYLINE_CONF_DIR=${SKYLINE_CONF_DIR:-/etc/skyline}
SKYLINE_CONF_FILE=${SKYLINE_CONF_DIR}/skyline.yaml
SKYLINE_LOG_DIR=/var/log/skyline
SKYLINE_ERROR_LOG_FILE=${SKYLINE_LOG_DIR}/error.log
SKYLINE_ACCESS_LOG_FILE=${SKYLINE_LOG_DIR}/access.log
SKYLINE_RUN_DIR=/var/lib/skyline