OpenAoE / vblade

The Minimal Userland AoE Target
GNU General Public License v2.0
51 stars 16 forks source link

Will there be configuration file support in next release? #8

Closed Shumen closed 8 years ago

Shumen commented 8 years ago

Since it's important to support conf-file as a server daemon program, instead of command line arguments.

ecashin commented 8 years ago

There is no plan to add that, because the vblade is deliberately minimal. You'll even notice that the vblade itself always runs in the foreground, and that vbladed is a shell script that daemonizes the vblade. That separation of concerns is often advocated, e.g., by Dan Bernstein, the author of daemontools.

I can imagine that if a config file was necessary, then one could simply use daemontools (or something like it that is newer, like runit) along with a library like Augeas to build the command line for vblade based on a config file.

If you try it and have success, I encourage you to make a pull request showing how you did it in Markdown documentation, and we can add the document to vblade.