Skip to content

Commit

Permalink
Run fbkpatch instead of kpatch
Browse files Browse the repository at this point in the history
Summary: Subj.

Differential Revision: D64405306

fbshipit-source-id: c4efaab9aa59e89e700383246a53730234a1c9f4
  • Loading branch information
mkutsevol authored and facebook-github-bot committed Oct 17, 2024
1 parent 3739667 commit c893e7a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cookbooks/fb_kpatch/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@
},
})
end
fb_systemd_override 'fbkpatch' do
unit_name 'kpatch.service'
content({
'Service' => {
# Empty record is required! It tells systemd to clean existing
# values, as it appends values from drop ins.
'ExecStart' => ['', '/usr/local/bin/fbkpatch load --all'],
},
})
end

0 comments on commit c893e7a

Please sign in to comment.