Skip to content

Commit

Permalink
autoupdate.conf: Improve documentation on services_{white,black}list
Browse files Browse the repository at this point in the history
Closes jirutka#8
  • Loading branch information
fossdd committed Oct 12, 2024
1 parent 141cb3e commit 717998a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions etc/autoupdate.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# List of services that should not be automatically restarted.
# Note: Case patterns (shell "case") may be used.
# By default all services are blacklisted and will not be restarted.
#services_blacklist="*"

# List of colon separated mappings between program path, the corresponding
Expand Down
4 changes: 3 additions & 1 deletion man/autoupdate.conf.5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ The default value is `"linux-*"`.
Specifies services that should never be automatically restarted, unless they are on the whitelist (see *services_whitelist*).
The value is a whitespace separated list of shell patterns describing names of services (e.g. `"++*++"`, `"net.* sshd"`).
+
The default value is `"*"`.
The default value is `"*"` (no services will be restarted).

*services_whitelist*::
Specifies services that shall be automatically restarted when needed.
This list is evaluated before *services_blacklist*.
The value is a whitespace separated list of shell patterns describing names of services (e.g. `"nginx s6*"`).
+
The default value is `""`

*programs_services*::
Specifies explicit mapping between programs and services, optionally with a runscript action (command) to perform for restart.
Expand Down

0 comments on commit 717998a

Please sign in to comment.