| Server IP : 159.223.102.202 / Your IP : 216.73.216.193 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | 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