lynis/extras/systemd/lynis.service

31 lines
791 B
SYSTEMD
Raw Normal View History

#################################################################################
#
# Lynis service file for systemd
#
#################################################################################
#
# - Adjust path to link to location where Lynis binary is installed
2019-07-13 20:03:53 +02:00
#
# - Place this file together with the lynis.timer file in the related
# systemd directory (e.g. /etc/systemd/system/)
#
# - See details in lynis.timer file
#
#################################################################################
[Unit]
2019-07-13 20:03:53 +02:00
Description=Security audit and vulnerability scanner
Documentation=https://cisofy.com/docs/
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStart=/path/to/lynis audit system --cronjob
2019-07-13 20:03:53 +02:00
[Install]
WantedBy=multi-user.target
2014-10-24 11:30:09 +02:00
#EOF