2014-10-02 15:15:19 +02:00
|
|
|
#################################################################################
|
|
|
|
#
|
|
|
|
# Lynis timer file for systemd
|
|
|
|
#
|
|
|
|
#################################################################################
|
|
|
|
#
|
2019-07-13 20:03:53 +02:00
|
|
|
# - 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
|
2014-10-02 15:15:19 +02:00
|
|
|
#
|
|
|
|
#################################################################################
|
|
|
|
|
|
|
|
[Unit]
|
2019-07-13 20:03:53 +02:00
|
|
|
Description=Daily timer for the Lynis security audit and vulnerability scanner
|
2014-10-02 15:15:19 +02:00
|
|
|
|
|
|
|
[Timer]
|
|
|
|
OnCalendar=daily
|
2019-07-13 20:03:53 +02:00
|
|
|
RandomizedDelaySec=1800
|
2014-10-02 15:15:19 +02:00
|
|
|
Persistent=false
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=timers.target
|
|
|
|
|
2014-10-24 11:30:09 +02:00
|
|
|
#EOF
|