Skip to content

Commit

Permalink
add remove nginx and mono cache after restart container before start …
Browse files Browse the repository at this point in the history
…services
  • Loading branch information
alexeybannov committed May 31, 2021
1 parent b74bd59 commit 4fec118
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions run-community-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,12 @@ if [ -n "$PID" ]; then
kill -9 $PID
fi

# clear nginx & mono cache
rm -dfr /tmp/onlyoffice* || true
rm -dfr /var/run/onlyoffice/* || true
rm -dfr /var/cache/nginx/onlyoffice/* || true


if [ "${DOCKER_ENABLED}" == "true" ]; then
exec /lib/systemd/systemd
fi

0 comments on commit 4fec118

Please sign in to comment.