/opt/imunify360/venv/share/imunify360/scripts
NameSizeModeActions
migrate_csf/-0755rm
__pycache__/-0755rm
check-detached.py11410755editdlrm
create_default_config12630755editdlrm
delay_on_cron_call.py11490755editdlrm
imunify-check-pkg-integrity61920755editdlrm
imunify-core-release4150700editdlrm
imunify-disable-cpu-accounting.sh10200744editdlrm
imunify-doctor.sh269520744editdlrm
imunify-force-update.sh83450744editdlrm
imunify_core_release.py222740644editdlrm
purge-clamav5350755editdlrm
send-notifications78884770editdlrm
setup_cagefs.py45830700editdlrm
track-fpfn-submissions.sh38920755editdlrm
update_components_versions.py42090755editdlrm
Edit: /opt/imunify360/venv/share/imunify360/scripts/imunify-disable-cpu-accounting.sh (1020B)
#!/bin/bash # Disable CPU accounting for all services in Imunify slice # some clients had issues with CPU accounting, so we provide this script to disable it # see enable-cgroup-accounting.sh in unified-access-logger repo for more details 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 <