waywardgeek / infnoise

The world's easiest TRNG to get right
Creative Commons Zero v1.0 Universal
723 stars 99 forks source link

make systemd service configurable via /etc/infnoise.conf #39

Closed manuel-domke closed 6 years ago

manuel-domke commented 6 years ago

The systemd unit file now reads /etc/infnoise.conf to allow easy configuration of the daemon.

To read them I had to add handling for environment variables to the main program. Those do not override any command line settings.

INFNOISE_SERIAL INFNOISE_MULTIPLIER INFNOISE_DEBUG

Happy new Year!