Skip to content

Commit 68d7b77

Browse files
mkutsevolfacebook-github-bot
authored andcommitted
Fix fbkpatch override reference script too early
Summary: Fixes order of execution bug, the service got override and was restarted before it had the file referenced in the override. Move the override to fb_kernel_settings, as the fb_kpatch is [opensourced](https://www.internalfb.com/diff/D67226415?dst_version_fbid=576249331819024&transaction_fbid=600555725684425). previous attempt in D67226415 (reverted in D67288917) Differential Revision: D67290321 fbshipit-source-id: 181c9b8f3e37065047db5eb5c008a3accf1fbd53
1 parent d192f49 commit 68d7b77

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cookbooks/fb_kpatch/recipes/default.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,3 @@
4747
},
4848
})
4949
end
50-
fb_systemd_override 'fbkpatch' do
51-
unit_name 'kpatch.service'
52-
content({
53-
'Service' => {
54-
# Empty record is required! It tells systemd to clean existing
55-
# values, as it appends values from drop ins.
56-
'ExecStart' => ['', '/usr/local/bin/fbkpatch load --all'],
57-
},
58-
})
59-
end

0 commit comments

Comments
 (0)