blob: 6b50a693a17106eee1443fb5dcb5b87d8c882805 [file] [log] [blame]
[Unit]
Description=Run CIS Scanner with given environment variables
[Service]
EnvironmentFile=-/etc/cis-scanner/env_vars
Type=simple
ExecStart=/usr/bin/cis_scanner \
--config="${CONFIG}" \
--result="${RESULT}" \
--max-cis-profile-level="${LEVEL}" \
--show-compliant-benchmarks=true \
"${EXTRA_OPTIONS}"
[Install]
WantedBy=multi-user.target