Fixes #8317 - Implement Reboot action

this looks wrong to me but when I used `include` it didn't work unless I put this file into the `concerns` folder but when I did that I got an uninitialized error from the `engine.rb`