Skip to content

Commit

Permalink
Disable mitigations
Browse files Browse the repository at this point in the history
  • Loading branch information
aleskandro committed Nov 13, 2023
1 parent 5c16ccc commit 0bb1a41
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable kargs-mitigations.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description=Disable mitigations
Documentation=
After=network-online.target
ConditionPathExists=!/var/.mitigations-kargs

[Service]
Type=oneshot
RemainAfterExit=true
ExecStartPre=/usr/bin/rpm-ostree kargs --replace=mitigations=off
ExecStart=/usr/bin/touch /var/.mitigations-kargs
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target

0 comments on commit 0bb1a41

Please sign in to comment.