oscap-remediate.service.in
raw| 1 | [Unit] |
| 2 | Description=Scan and remediate the operating system using OpenSCAP scanner in accordance with the selected profile |
| 3 | |
| 4 | DefaultDependencies=no |
| 5 | Requires=sysinit.target dbus.socket |
| 6 | After=sysinit.target dbus.socket systemd-journald.socket system-update-pre.target |
| 7 | Before=shutdown.target system-update.target |
| 8 | |
| 9 | [Service] |
| 10 | Type=oneshot |
| 11 | ExecStart=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBEXECDIR@/oscap-remediate |
| 12 | |
| 13 | FailureAction=reboot |