aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-04-01 12:36:27 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-04-01 15:47:54 -0700
commitc9b0ce53bd72ddd34be7ec4ee8a14bb710ebd8fb (patch)
tree0b15f993d837d034febb6c7a297858ed64ef6240
parentf95b25081cb4ab287486843cd29291c3293169f3 (diff)
downloadconsfigurator-c9b0ce53bd72ddd34be7ec4ee8a14bb710ebd8fb.tar.gz
add call to FILE:CONTAINS-INI-SETTINGS to sample consfig
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--doc/introduction.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/introduction.rst b/doc/introduction.rst
index a99fb69..0512723 100644
--- a/doc/introduction.rst
+++ b/doc/introduction.rst
@@ -54,6 +54,12 @@ Try it out / quick start
(apt:uses-local-cacher) ; sets up apt-cacher-ng
(apt:standard-sources.list)
+ ;; Set key--value pairs in INI-style files. Consfigurator will
+ ;; uncomment existing lines in preference to adding new ones, for
+ ;; readability.
+ (file:contains-ini-settings "/etc/systemd/logind.conf"
+ '("Login" "KillUserProcesses" "no"))
+
(apt:service-installed-running "apache2")
;; Apply some properties as a non-root user.