Changeset - 5820bdd36b72
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 16 years ago 2009-12-27 23:28:23
ohnobinki@ohnopublishing.net
fix server's conf and render_types
2 files changed with 7 insertions and 8 deletions:
0 comments (0 inline, 0 general)
etc/distrendaemon.conf.in
Show inline comments
 
@@ -2,16 +2,14 @@
 
 configuration for _this_ server
 
*/
 
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
src/server/distrend.c
Show inline comments
 
@@ -667,12 +667,13 @@ int distrend_do_config(int argc, char *a
 
  cfg_opt_t myopts[] =
 
    {
 
      CFG_SEC("listen",  /* this must be imported into struct listens (which must still be declared) */
 
          myopts_listen,
 
          CFGF_MULTI),
 
      CFG_SIMPLE_STR("datadir", NULL),
 
      CFG_STR_LIST("render_types", NULL, CFGF_NONE),
 
      CFG_END()
 
    };
 

	
 
  struct distrenjob *distrenjob;
 
  cfg_t *cfg_listen;
 

	
0 comments (0 inline, 0 general)