blob: c49fdf12d740938828dfa1c467a5461e3d12ccd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#################################################################################
#
# Lynis service file for systemd
#
#################################################################################
#
# - Adjust path to link to location where Lynis binary is installed
# - Place this file and the timer file together in the systemd directory
# (e.g. /etc/systemd/system/)
# - Run: systemctl enable lynis.service
#
#################################################################################
[Unit]
Description=Lynis security audit and vulnerability scan
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStart=/path/to/lynis audit system --cronjob
#EOF
|