HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/share/bug/monit
#!/bin/sh

mconf=/etc/monit/monitrc

if [ ! -r $mconf ]
then
  cat >&3 <<EOF

Monit config file $mconf is *NOT* readable by reportbug.
Please, consider to rerun reportbug as root and *carefully* examine
reportbug's output (e.g., monitrc content), before sending it out.
EOF
fi

printf "\nContents of /etc/monit/ directory:\n" >&3
/bin/ls -lR /etc/monit >&3 2>&1
printf "\n" >&3

exit 0