# HG changeset patch # User Binki # Date 2009-05-31 01:40:08 # Node ID 67c77fdf3f1164de2c035f0a4e0fc5d69049f0b9 # Parent d776ca302a39c74454950c16a01f905315d33a81 split configuration file up diff --git a/etc/Makefile.am b/etc/Makefile.am --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,1 +1,1 @@ -sysconf_DATA = distren.conf +sysconf_DATA = distrenclient.conf distrencommon.conf distrenserver.conf diff --git a/etc/distrenclient.conf b/etc/distrenclient.conf new file mode 100644 --- /dev/null +++ b/etc/distrenclient.conf @@ -0,0 +1,11 @@ +/* + A client is essentially the libdistren library or any app that is submitting + files. Thus, it should only need to know which server to access. Credentials + specific to a server will be specified per-server for now. +*/ +client +{ + server = "ohnopublishing" +} + +include("distrencommon.conf") diff --git a/etc/distren.conf b/etc/distrencommon.conf rename from etc/distren.conf rename to etc/distrencommon.conf --- a/etc/distren.conf +++ b/etc/distrencommon.conf @@ -26,21 +26,3 @@ server ohnopublishing types = {"distribution"} } -/* - A client is essentially the libdistren library or any app that is submitting - files. Thus, it should only need to know which server to access. Credentials - specific to a server will be specified per-server for now. -*/ -client -{ - server = "ohnopublishing" -} - -/* - configuration for _this_ server -*/ -me -{ - render_types = {"povray", "blender", "inkscape", "imagemagick", "dcraw"} // -} - diff --git a/etc/distrenserver.conf b/etc/distrenserver.conf new file mode 100644 --- /dev/null +++ b/etc/distrenserver.conf @@ -0,0 +1,9 @@ +/* + configuration for _this_ server +*/ +me +{ + render_types = {"povray", "blender", "inkscape", "imagemagick", "dcraw"} +} + +include("distrencommon.conf")