Skip to content

Commit

Permalink
Restore context of systemd unit file
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein committed Oct 11, 2023
1 parent 89f3c94 commit b48e263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,7 @@ create_service_file() {

restore_systemd_service_file_context() {
restorecon -R -i ${FILE_K3S_SERVICE} || true
restorecon -R -i ${FILE_K3S_ENV} || true
}

# --- get hashes of the current k3s bin and service files
Expand Down

0 comments on commit b48e263

Please sign in to comment.