apparmor_parser -r /etc/apparmor.d/usr.sbin.nginx

Category: Security & Hardening

apparmor_parser -r /etc/apparmor.d/usr.sbin.nginx

Reload an AppArmor profile from its file

Re-reads the profile file and replaces the loaded version, applying edits to policy without rebooting. The -r flag means replace. After reloading, verify with aa-status that the profile is still enforced.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.