diff --git a/etc/distrendaemon.conf.in b/etc/distrendaemon.conf.in --- a/etc/distrendaemon.conf.in +++ b/etc/distrendaemon.conf.in @@ -5,13 +5,11 @@ daemon { datadir = "@LOCALSTATEDIR@/@PACKAGE@" render_types = {"povray", "blender", "inkscape", "imagemagick", "dcraw"} + + listen { + type = "unix" + path = "@RUNSTATEDIR@/@PACKAGE@d.sock" + port = "0770" + } } - include("distrencommon.conf") - - -listen { - type = "unix" - path = "@RUNSTATEDIR@/@PACKAGE@d.sock" - port = "0770" -} \ No newline at end of file diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -670,6 +670,7 @@ int distrend_do_config(int argc, char *a myopts_listen, CFGF_MULTI), CFG_SIMPLE_STR("datadir", NULL), + CFG_STR_LIST("render_types", NULL, CFGF_NONE), CFG_END() };