Skip to content
This repository has been 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
irobot73 opened this issue Aug 28, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@irobot73
Copy link

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)

@issuelabeler issuelabeler bot added the enhancement New feature or request label Aug 28, 2022
@Claiyc
Copy link
Member

Claiyc commented Aug 28, 2022

LGSM Docker is currently being entirely refactored. See #43

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants