-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config file #28
Config file #28
Conversation
+ fixed readme
i am not done with this PR, but is it easy to add this functionality to the dockerfile? @BrainyXS |
Yea, should be easy to copy the config file during image creation to the docker image |
Nice, do you mind updating the necessary changes once this PR is finished? |
- Refactor checking for variables and fetching stream meta - Refactor checking for config files
for better os compatibility
- move function outside loop - re-source the config after fetching the new values - fix date variable
I am finished from my side. 😅 |
Squashing this PR |
Related issue: #23
This PR moves all the variables to a dedicated config file
default.config
Each streamer you monitor will need its own config file:
nameHere.config
instructions:
default.config
to a separate config filenameHere.config
pm2 start --name nameHere
Code flow:
--name
arg that is passed when starting the scriptpm2 start --name nameHere
nameHere
nameHere.config