| Server IP : 35.154.56.2 / Your IP : 216.73.217.116 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-0-189 6.8.0-1029-aws #31-Ubuntu SMP Wed Apr 23 18:20:04 UTC 2025 aarch64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/rsyslog/ |
Upload File : |
#!/bin/sh
apparmor_profile="/etc/apparmor.d/usr.sbin.rsyslogd"
include_dir="/etc/apparmor.d/rsyslog.d"
[ -f "${apparmor_profile}" ] || exit 0
[ -d "${include_dir}" ] || exit 0
aa-status --enabled 2>/dev/null || exit 0
apparmor_parser -r -W -T "${apparmor_profile}" || {
echo "Failed to reload the ${apparmor_profile} apparmor profile, continuing anyway" >&2
}
exit 0