Skip to content

Commit

Permalink
dist: change permission to harinoki log directory with root install
Browse files Browse the repository at this point in the history
  • Loading branch information
akirakw committed Feb 14, 2024
1 parent 5a3c3c3 commit f35b260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/install/install-harinoki.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ if "${MAKE_TSURUGI_BASE}"; then
mkdir -p "${JETTY_BASE}/webapps"
mkdir -p "${JETTY_BASE}/etc"
mkdir -p "${JETTY_BASE}/logs"
if [ "$EUID" -eq 0 ]; then
chmod -R o+w "${JETTY_BASE}/logs"
fi

java -jar $JETTY_HOME/start.jar --add-module=http,deploy,console-capture,jaas

Expand Down

0 comments on commit f35b260

Please sign in to comment.