{"id":83,"date":"2015-01-08T12:15:37","date_gmt":"2015-01-08T12:15:37","guid":{"rendered":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=83"},"modified":"2017-01-31T12:15:41","modified_gmt":"2017-01-31T12:15:41","slug":"module-configuration-files","status":"publish","type":"page","link":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=83","title":{"rendered":"Module configuration files"},"content":{"rendered":"<p>Each Orchids <a title=\"List of Orchids modules\" href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=114\">module<\/a> may propose a set of configuration options.\u00a0 To specify options to module <em>module-name<\/em>, write <code>&lt;module <em>module-name<\/em>&gt;<\/code>, followed by options specific to <em>module-name<\/em>, one per line, and end them by <code>&lt;\/module&gt;<\/code>.<\/p>\n<p>By convention, all this should be written in a file named <code><em>nn<\/em>_mod_module-name.conf<\/code> in the <code>$OCONF\/conf.d<\/code> directory.\u00a0 This file will be loaded by the <code>Include @@ETCDIR@@\/orchids\/conf.d\/*.conf<\/code> directive in <code>orchids.conf.dist<\/code>, in standard distributions.\u00a0 The two-digit number <em>nn<\/em> is arbitrary, and is meant to force the order in which modules are loaded from the <code>$OCONF\/conf.d<\/code> directory.<\/p>\n<p>For example, the first module whose configuration is loaded is (typically) <a title=\"The textfile module\" href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=87\"><code>textfile<\/code><\/a>.\u00a0 So you may find the following lines in <code>$OCONF\/conf.d\/01_mod_textfile.conf<\/code>:<\/p>\n<pre>&lt;module textfile&gt;\r\n\u00a0 PollPeriod 15\r\n#\u00a0 INPUT \"\/var\/log\/messages\"\r\n#\u00a0 ProcessAll 1\r\n# ExitAfterProcessAll 1\r\n&lt;\/module&gt;<\/pre>\n<p>As usual, the sharp sign <code>#<\/code> is used to start comments.<\/p>\n<p>Module-specific options are documented on the page of the <a title=\"List of Orchids modules\" href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=114\">corresponding module<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Each Orchids module may propose a set of configuration options.\u00a0 To specify options to module module-name, write &lt;module module-name&gt;, followed by options specific to module-name, one per line, and end them by &lt;\/module&gt;. By convention, all this should be written in a file named nn_mod_module-name.conf in the $OCONF\/conf.d directory.\u00a0 This file will be loaded by &hellip; <a href=\"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/?page_id=83\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Module configuration files<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-83","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=83"}],"version-history":[{"count":7,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages\/83\/revisions"}],"predecessor-version":[{"id":553,"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=\/wp\/v2\/pages\/83\/revisions\/553"}],"wp:attachment":[{"href":"https:\/\/projects.lsv.ens-paris-saclay.fr\/orchidsdoc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}