Changes

Jump to navigation Jump to search
no edit summary
Line 24: Line 24:  
The configuration occurs based on several sources (sorted by applied order):
 
The configuration occurs based on several sources (sorted by applied order):
    +
* {{Code|/etc/sugar-network.conf}} system-wide configuration file,
 +
* {{Code|/etc/sugar-network.d}} directory with system-wide configuration files,
 +
* {{Code|~/.config/sugar-network/config}} user-wide configuration file.
 
* Command-line arguments (configuration names equal to command-line arguments),
 
* Command-line arguments (configuration names equal to command-line arguments),
* {{Code|/etc/sugar-network/config}} system-wide configuration file,
  −
* {{Code|~/.config/sugar-network/config}} user-wide configuration file.
      
To get the current configuration, call:
 
To get the current configuration, call:
Line 86: Line 87:  
* Command-line arguments (configuration names equal to command-line arguments),
 
* Command-line arguments (configuration names equal to command-line arguments),
 
* {{Code|/etc/sweets.conf}} system-wide configuration file,
 
* {{Code|/etc/sweets.conf}} system-wide configuration file,
 +
* {{Code|/etc/sweets.d}} directory with system-wide configuration files,
 
* {{Code|~/.config/sweets/config}} user-wide configuration file,
 
* {{Code|~/.config/sweets/config}} user-wide configuration file,
 
* {{Code|~/.sugar/''current-profile''/sweets.conf}} configuration specific to a Sugar profile, this configuration file is being created by Sugar Integration code in Sugar and better to avoid setting these options directly.
 
* {{Code|~/.sugar/''current-profile''/sweets.conf}} configuration specific to a Sugar profile, this configuration file is being created by Sugar Integration code in Sugar and better to avoid setting these options directly.

Navigation menu