Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extras/systemd/lynis.timer')
-rw-r--r--extras/systemd/lynis.timer14
1 files changed, 10 insertions, 4 deletions
diff --git a/extras/systemd/lynis.timer b/extras/systemd/lynis.timer
index 169b3c17..83f5c144 100644
--- a/extras/systemd/lynis.timer
+++ b/extras/systemd/lynis.timer
@@ -4,17 +4,23 @@
#
#################################################################################
#
-# - Place this file together with the service file in systemd directory
-# - Run: systemctl enable lynis.timer
-# systemctl start lynis.service
+# - Place this file together with the lynis.service file in the related
+# systemd directory (e.g. /etc/systemd/system)
+#
+# - Tell systemd you made changes
+# systemctl daemon-reload
+#
+# - Enable and start the timer (so no reboot is needed):
+# systemctl enable --now lynis.timer
#
#################################################################################
[Unit]
-Description=Daily run for Lynis security audit and vulnerability scan
+Description=Daily timer for the Lynis security audit and vulnerability scanner
[Timer]
OnCalendar=daily
+RandomizedDelaySec=1800
Persistent=false
[Install]