HEX
Server: Apache
System: Linux srv.kreative-web.pt 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
User: kevinefranco (1040)
PHP: 8.2.30
Disabled: mail,system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,ini_restore
Upload Files
File: //lib/systemd/system/imunify-antivirus.service
[Unit]
Description=ImunifyAV
After=network.target
Requires=imunify-antivirus.socket imunify-antivirus-user.socket imunify-antivirus-sensor.socket
Wants=imunify-notifier.socket

[Service]
Environment=PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
Environment=LANG=en_US.UTF-8
Environment=LC_ALL=en_US.UTF-8
Environment=PYTHONNOUSERSITE=1
Environment=SQLITE_TMPDIR=/var/imunify360/tmp
Type=simple
ExecStart=/usr/bin/imunify-service
ExecStartPost=/bin/bash -c "echo $MAINPID > /var/run/imunify-antivirus.pid"
PIDFile=/var/run/imunify-antivirus.pid
#TODO: must be not less than defence360agent/cli/server.py:stop(seconds=8)
TimeoutStopSec=90
RestartSec=5
StartLimitInterval=600s
StartLimitBurst=5
# Orphans child processes instead of killing them when the main process is shut down.
KillMode=process

[Install]
WantedBy=multi-user.target
# Alias does not work in ubuntu. Used [Socket]Service= in imunify-antivirus-user.socket instead
#Alias=imunify-antivirus-user.service