Commit 4a158c4f authored by Andrew Lee (李健秋)'s avatar Andrew Lee (李健秋)
Browse files

Fixed obs-worker failed to start issue. (Closes: #851761)

parent ea62f32f
......@@ -78,7 +78,7 @@ OBS_WORKER_TEST_MODE=""
#
# This is /run by default
#
OBS_RUN_DIR="/srv/obs/run"
OBS_RUN_DIR="/run/obs"
## Path: Applications/OBS
## Description: The base for OBS logging directory
......
......@@ -212,7 +212,7 @@ case "$1" in
start)
# reset screenrc
mkdir -p "$obsrundir"
chown obsrun:obsrun "$obsrundir"
chown obsworker:obsworker "$obsrundir"
rm -rf "$workerdir"
mkdir -p "$workerbootdir"
echo "zombie on" > $screenrc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment