From 7506fd4af8bc83d743cfc0894a814bdce4c07cc1 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 12 Jul 2019 13:25:29 +0200 Subject: Adjusted text and use 'audit system' instead of deprecated -c option --- extras/systemd/lynis.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extras') diff --git a/extras/systemd/lynis.service b/extras/systemd/lynis.service index 7ecc36ad..c49fdf12 100644 --- a/extras/systemd/lynis.service +++ b/extras/systemd/lynis.service @@ -5,7 +5,8 @@ ################################################################################# # # - Adjust path to link to location where Lynis binary is installed -# - Place this file together with the timer file in systemd directory +# - Place this file and the timer file together in the systemd directory +# (e.g. /etc/systemd/system/) # - Run: systemctl enable lynis.service # ################################################################################# @@ -18,6 +19,6 @@ Nice=19 IOSchedulingClass=best-effort IOSchedulingPriority=7 Type=simple -ExecStart=/path/to/lynis -c --cronjob +ExecStart=/path/to/lynis audit system --cronjob #EOF -- cgit v1.2.3