ZoneMinder / zmdockerfiles

Dockerfiles for the ZoneMinder project build system and for running ZoneMinder
210 stars 106 forks source link

Entrypoint attempts to tail an invalid path #77

Closed andornaut closed 3 years ago

andornaut commented 3 years ago

entrypoint.sh executes tail -F /var/log/zoneminder/zm*.log which fails, because /var/log/zoneminder/ does not exist, but /var/log/zm/ does.

Steps to reproduce

$ docker exec -ti $(docker ps|grep zoneminder|awk '{print $1}') bash
$ tail -F /var/log/zoneminder/zm*.log
tail: cannot open '/var/log/zoneminder/zm*.log' for reading: No such file or directory

Suggested Fix

I tested this fix on zoneminderhq/zoneminder:latest-ubuntu18.04:

tail -F /var/log/zm/*.log
florie1706 commented 3 years ago

Check Pull Request https://github.com/ZoneMinder/zmdockerfiles/pull/75

andornaut commented 3 years ago

Closed as a duplicate of #75.