Bedrock icon indicating copy to clipboard operation
Bedrock copied to clipboard

Bedrock should be packaged with a config file

Open righdforsa opened this issue 9 years ago • 1 comments

Now that it's an official open-source project, we should make it follow expected practices about what the package comes with. A config file would be a good place to start. Currently any persistent custom configs have to be put in the init script, but we shouldn't expect people to hack on the init script, they should have a config file that sets these options. The easiest path to this is probably just a config file with variables, that is sourced by the init script, but we could consider having the binary look at the config file instead.

righdforsa avatar Oct 18 '16 20:10 righdforsa

For reference I wrote the following files for the archlinux package which may serve as some kind of example:

/etc/bedrock.conf https://aur.archlinux.org/cgit/aur.git/tree/bedrock.conf?h=bedrock

/usr/lib/systemd/system/bedrock.service https://aur.archlinux.org/cgit/aur.git/tree/bedrock.service?h=bedrock

jgmdev avatar Nov 20 '18 06:11 jgmdev