Allow for configuration of data/log directories and retention in bytes

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>