HEX
Server: LiteSpeed
System: Linux sg-cp4.cloudnetwork.vn 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64
User: thu28850 (1134)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/systemd/system/imunify360-webshield.service
[Unit]
Description=imunify360-webshield - Imunify360 WebShield
Documentation=https://docs.imunify360.com/
After=imunify360-webshield-ssl-cache.service
Wants=imunify360-webshield-ssl-cache.service
PartOf=imunify360-wafd.service

[Service]
CPUAccounting=true
MemoryAccounting=true
BlockIOAccounting=true
Slice=Imunify-webshield-nginx.slice
Type=forking
PIDFile=/var/run/imunify360-webshield.pid
ExecStartPre=/usr/share/imunify360-webshield/gen_ports_conf
ExecStartPre=/usr/share/imunify360-webshield/build_includes.py captcha,splashscreen /usr/share/imunify360-webshield /opt/imunify360-webshield/nginx/html /etc/imunify360-webshield
ExecStartPre=/usr/sbin/imunify360-webshield-ipdetect
ExecStartPre=/usr/sbin/imunify360-webshield-compose-lists
ExecStartPre=/usr/sbin/imunify360-webshield -t -c /etc/imunify360-webshield/webshield.conf
ExecStart=/usr/sbin/imunify360-webshield -c /etc/imunify360-webshield/webshield.conf
# WARN: It's critically important to regenerate config with ports on reload.
# Otherwise in case of changing modes (e.g. standalone => coraza4cpanel)
# the server will keep listening wrong ports.
ExecReload=/usr/share/imunify360-webshield/gen_ports_conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
Restart=on-failure
RestartSec=5