Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

1. Paragraphs

There are two kinds of paragraphs: the first one is called the 'Header' and the other is a 'Section'. The 'Header' paragraph belongs at the top of the configuration file while the 'Section' paragraph is created before your section (EG: [general]).

1.1. Header (Once)

1.1.1. Required fields

1.1.1.1. File

This field will contain the full name of the file.

1.1.1.1.1. Syntax
; File: <filename>

1.1.1.2. Description

The short description shouldn't be wider than 60 characters while the long description should be used if more detail about the settings is needed.

1.1.1.2.1. Syntax
; Description: <insert up to 60 chars description>
;  <insert long description, indented with spaces>

1.2. Section (Repeatable)

1.2.1. Required fields

1.2.1.1. Section

1.2.1.2. Value

1.2.1.3. Description

1.2.1.4. Default

1.2.2. Optional fields

1.2.2.1. Since

2. Examples

2.1. Simple

; File: manager.conf
; Description:

[general]
; Value: enabled
; Section: general
; Description:
; Since: 1.0
; Default: no
enabled = no

; Value: webenabled
; Section: general
; Description:
; Since: 1.0
; Default: no
webenabled = no

; Value: port
; Section: general
; Description:
; Since: 1.0
; Default: 5038
port = 5038

3. See also

http://dep.debian.net/deps/dep5/

  • No labels