/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-options.xml

  • Committer: Teddy Hogeborn
  • Date: 2011-11-26 23:08:17 UTC
  • mto: (518.1.8 mandos-persistent)
  • mto: This revision was merged to the branch mainline in revision 524.
  • Revision ID: teddy@recompile.se-20111126230817-tv08v831s2yltbkd
Make "enabled" a client config option.

* DBUS-API: Fix wording on "Expires" option.
* clients.conf (enabled): New.
* mandos (Client): "last_enabled" can now be None.
  (Client.__init__): Get "enabled" from config.  Only set
                     "last_enabled" and "expires" if enabled.
  (ClientDBus.Created_dbus_property): Removed redundant dbus.String().
  (ClientDBus.Interval_dbus_property): If changed, only reschedule
                                       checker if enabled.
  (main/special_settings): Added "enabled".
* mandos-clients.conf (OPTIONS): Added "enabled".

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
    to the server if this option is turned off.  <emphasis>Only
86
86
    advanced users should consider changing this option</emphasis>.
87
87
  </para>
88
 
 
 
88
  
89
89
  <para id="restore">
90
90
    This option controls whether the server will restore any state from
91
 
    last time it ran. The Default is to try restore last state.
 
91
    last time it ran. Default is to try restore last state.
 
92
  </para>
 
93
  
 
94
  <para id="statedir">
 
95
    Directory to save (and restore) state in.  Default is
 
96
    <quote><filename
 
97
    class="directory">/var/lib/mandos</filename></quote>.
92
98
  </para>
93
99
  
94
100
</section>