Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

[Enhancement] Allow tail'd folder to be an ENV variable via Docker #75

Open

Description

@irobot73

Setting up a Project Zomboid dedicated server & all seems to be running well.

Only gripe I have is the log path that's TAIL'd via 'entrypoint.sh' is LGSM's...the 5min MONITOR log

What I see today:

...
Aug 28 18:05:13.657 pzserver: MONITOR: INFO: * Server CPU Model: AMD Ryzen 3 3100 4-Core Processor
Aug 28 18:05:13.659 pzserver: MONITOR: INFO: * Server CPU Frequency: 3600.000
Aug 28 18:05:13.660 pzserver: MONITOR: INFO: * Server RAM: 32GB
Aug 28 18:05:13.661 pzserver: MONITOR: INFO: * Server Disk: 196G
Aug 28 18:05:13.667 pzserver: MONITOR: INFO: LinuxGSM version: v22.1.0
Aug 28 18:05:13.668 pzserver: MONITOR: PASS: core_exit.sh exiting with code: 0
...

Would be optimal, to me, to be able to utilize an ENV variable, instead of redirecting/merging the .../Zomboid/Logs via VOLUME into the LGSM 'log/script' folder (hacky, but SHOULD work)

FROM:

./${GAMESERVER} details

tail -f log/script/*

# with no command, just spawn a running container suitable for exec's

TO:

./${GAMESERVER} details

tail -f {LOGPATHTOTAIL}/*

# with no command, just spawn a running container suitable for exec's

...unless I'm missing something quiet obvious (Docker being still relatively new for me)

Activity

  1. added
    enhancement
    on Aug 28, 2022
  2. Claiyc commented on Aug 28, 2022

    @Claiyc
    Member

    LGSM Docker is currently being entirely refactored. See #43

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions