Configure Background Process Killer from Command line

Amirhossein Matini

Registered
Aug 9, 2018
1
0
1
Your mind
cPanel Access Level
Root Administrator
Hello,

I wanted t know if there is a way to configure and enable and configure Background Process Killer from command line.

The following documentation does not provide any info about where is the config file being stored and how to edit that using command line.

Thanks.
 

sparek-3

Well-Known Member
Aug 10, 2002
2,154
269
388
cPanel Access Level
Root Administrator
I've used:

cat >/var/cpanel/killproc.conf <<EOF
BitchX
bnc
eggdrop
generic-sniffers
guardservices
ircd
psyBNC
ptlink
services
EOF


Although I suspect that you have to restart cPanel after doing this.

I wish stuff like this was published some where. I know I try to avoid logging into the WHM as much as possible and do as much as I can from the shell. It's quicker that way.
 
  • Like
Reactions: Amirhossein Matini

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
  • Like
Reactions: Amirhossein Matini