Skip to content

tail in run.sh fails #3

Description

@larsks

The run.sh script attempts to tail the lighttpd logs:

# display logs
tail -F /var/log/lighttpd/*log &

But tat the time this script runs, these log files don't exist, so the wildcard expansion fails, so you get:

tail: can't open '/var/log/lighttpd/*log': No such file or directory

If you replace this with:

tail -F /var/log/lighttpd/access.log /var/log/lighttpd/error.log 

It should work as intended.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions