Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
fix: removed switch for 1.x in startup (#543)
Browse files Browse the repository at this point in the history
* fix: removed switch for 1.x in startup

* fix: removed old logging files
  • Loading branch information
tobybatch authored Aug 29, 2023
1 parent 1e28df6 commit 3f165a0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
6 changes: 0 additions & 6 deletions assets/monolog-dev.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions assets/monolog-prod.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions assets/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,10 @@ function config() {
function handleStartup() {
# set mem limits and copy in custom logger config
sed -i "s/memory_limit.*/memory_limit=$memory_limit/g" /usr/local/etc/php/php.ini
if [ "${KIMAI:0:1}" -lt "2" ]; then
cp /assets/monolog-prod.yaml /opt/kimai/config/packages/prod/monolog.yaml
cp /assets/monolog-dev.yaml /opt/kimai/config/packages/dev/monolog.yaml
else
cp /assets/monolog.yaml /opt/kimai/config/packages/monolog.yaml
fi
cp /assets/monolog.yaml /opt/kimai/config/packages/monolog.yaml

tar -zx -C /opt/kimai -f /var/tmp/public.tgz



if [ -z "$USER_ID" ]; then
USER_ID=$(id -u www-data)
fi
Expand Down

0 comments on commit 3f165a0

Please sign in to comment.