Skip to content

Commit 827e19a

Browse files
committed
autoupdate.conf: Improve documentation on services_{white,black}list
Closes jirutka#8
1 parent 1704b28 commit 827e19a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

etc/autoupdate.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

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

1516
# List of colon separated mappings between program path, the corresponding

man/autoupdate.conf.5.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ The default value is `"linux-*"`.
3535
Specifies services that should never be automatically restarted, unless they are on the whitelist (see *services_whitelist*).
3636
The value is a whitespace separated list of shell patterns describing names of services (e.g. `"++*++"`, `"net.* sshd"`).
3737
+
38-
The default value is `"*"`.
38+
The default value is `"*"` (no services will be restarted).
3939

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

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

0 commit comments

Comments
 (0)