Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 216.73.216.155
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
imunify360 /
venv /
share /
imunify360 /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
check-detached.py
1.11
KB
-rwxr-xr-x
2025-05-28 10:49
create_default_config
1.23
KB
-rwxr-xr-x
2025-05-28 10:49
delay_on_cron_call.py
1.12
KB
-rwxr-xr-x
2025-05-26 13:55
imunify-disable-cpu-accounting.sh
792
B
-rwxr--r--
2025-05-28 10:49
imunify-doctor.sh
16.73
KB
-rwxr--r--
2025-05-28 10:49
imunify-force-update.sh
3.12
KB
-rwxr--r--
2025-05-28 10:49
purge-clamav
535
B
-rwxr-xr-x
2025-05-28 10:49
send-notifications
72
B
-rwxr-xr-x
2025-05-28 10:49
update_components_versions.py
4.02
KB
-rwxr-xr-x
2025-05-28 10:49
Save
Rename
#!/bin/bash UNIT_DIR="/etc/systemd/system" # Function to create the override file for a systemd unit create_override() { local unit_name="$1" local override_path="$UNIT_DIR/$unit_name.d/override.conf" # Create the directory for the override file mkdir -p "$UNIT_DIR/$unit_name.d" # Create the override.conf file tee "$override_path" > /dev/null <<EOF [Service] CPUAccounting=false EOF echo "Override created for $unit_name" } # Get all of systemd services services=$(systemctl list-units --type=service --all --no-pager --no-legend | awk '{print $1}') for service in $services; do if systemctl show --property=Slice "$service" | grep "Slice=Imunify"; then echo "CPUAccounting disabled for $service" create_override "$service" fi done systemctl daemon-reload