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="" ...@@ -78,7 +78,7 @@ OBS_WORKER_TEST_MODE=""
# #
# This is /run by default # This is /run by default
# #
OBS_RUN_DIR="/srv/obs/run" OBS_RUN_DIR="/run/obs"
## Path: Applications/OBS ## Path: Applications/OBS
## Description: The base for OBS logging directory ## Description: The base for OBS logging directory
......
...@@ -212,7 +212,7 @@ case "$1" in ...@@ -212,7 +212,7 @@ case "$1" in
start) start)
# reset screenrc # reset screenrc
mkdir -p "$obsrundir" mkdir -p "$obsrundir"
chown obsrun:obsrun "$obsrundir" chown obsworker:obsworker "$obsrundir"
rm -rf "$workerdir" rm -rf "$workerdir"
mkdir -p "$workerbootdir" mkdir -p "$workerbootdir"
echo "zombie on" > $screenrc 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