iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.47k stars 1.86k forks source link

[Enhancement] specify config location from command line #5001

Open mooleshacat opened 1 month ago

mooleshacat commented 1 month ago

Is your enhancement request related to a problem? Please describe.

I am running multiple instances, it would be nice to have the ability to specify config location (ex. ./invidious -c config/config.yml -o invidious.log) - this way you can keep all configs in the same location and specify at runtime

Describe the solution you'd like

ability to specify config location (ex. ./invidious -c config/config.yml -o invidious.log)

Describe alternatives you've considered

none attempt modification myself

Additional context

So can run multiple instances from the same directory and keep the configs in one location

Default could be to use config/config.yml unless -c is specified

unixfox commented 1 month ago

Sounds like an easy task that could be done by any beginner in crystal :).