Changes

From SME Server
Jump to navigationJump to search
m
Line 119: Line 119:  
  perldoc esmith::DB
 
  perldoc esmith::DB
   −
====Database Initialisierung====
+
====Datenbank-Initialisierung====
   −
The configuration databases are initialized from files in the /etc/e-smith/db/ hierarchy. These files can perform one of three actions:
+
Die Konfigurations-Datenbanken werden aus dem Dateibaum ''/etc/e-smith/db/'' initialisiert. Darin enthaltene Dateien können jeweils eine von drei verschiedenen Aktionen ausführen:
 
+
* Erstellen eines Datenbank-Eintrags mit einem voreingestellten Wert, falls der Eintrag nicht schon existiert
    *
+
* Erzwingen eines spezifischen Wertes für einen Datenbank-Eintrag unabhängig von der aktuellen Einstellung
 
+
* Den Wert eines Datenbank-Eintrags mit einem neuen Wert überschreiben
      Create a database entry and set it to a default value, if the entry does not already exist.
  −
    *
  −
 
  −
      Force a database entry to a specific value, regardless of its current setting.
  −
    *
  −
 
  −
      Migrate an entry from a previous value to a new value.
      
This design allows each package to provide part of the system configuration, or migrate the system configuration values as required. Note that a single database property can only be "owned" by one package. Database initialization is run during system install, system upgrade and after new software has been installed.
 
This design allows each package to provide part of the system configuration, or migrate the system configuration values as required. Note that a single database property can only be "owned" by one package. Database initialization is run during system install, system upgrade and after new software has been installed.
1,346

edits

Navigation menu