The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enable BPK from shell?

Discussion in 'General Discussion' started by Wyatt Epp, Oct 29, 2011.

  1. Wyatt Epp

    Wyatt Epp Registered
    PartnerNOC

    Joined:
    Oct 29, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    I've looked into this a bit but my Googling was fruitless: is there a simple way to enable the Background Process Killer via a script? I want to roll this out on a bunch of servers without an hour of password entry and clicky RSI. Thanks.

    SOLVED:
    Enabling BPK creates /var/cpanel/killproc.conf with one daemon per line.
    Code:
    echo "BitchX
    bnc
    eggdrop
    generic-sniffers
    guardservices
    ircd
    psyBNC
    ptlink
    services" > /var/cpanel/killproc.conf
    Just to clarify then, do I need to reload/restart /etc/init.d/cpanel or otherwise use something in /scripts to make this take effect?
     
    #1 Wyatt Epp, Oct 29, 2011
    Last edited: Oct 30, 2011
  2. gnutoolbox

    gnutoolbox Member

    Joined:
    Sep 25, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just a cpanel restart will load all the new configs.
     
  3. Wyatt Epp

    Wyatt Epp Registered
    PartnerNOC

    Joined:
    Oct 29, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Ah, fantastic, thanks. Now to deploy this on EVERYTHING.
     
Loading...

Share This Page