Skip to content

Commit

Permalink
Changed systemctl command from 'restart' to 'try-restart' for fapolic…
Browse files Browse the repository at this point in the history
…yd. This will prevent fapolicyd service from inadvertantly starting if it was previously disabled.
  • Loading branch information
burlyunixguy authored and brandond committed May 28, 2024
1 parent f92a0e1 commit d2892e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/bin/rke2-uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ uninstall_remove_files()
rm -f /etc/fapolicyd/rules.d/80-rke2.rules
fi
fagenrules --load
systemctl restart fapolicyd
systemctl try-restart fapolicyd
fi
}

Expand Down

0 comments on commit d2892e0

Please sign in to comment.