Short Question: /usr/local/ispconfig/server/server.sh - what does this script do

Discussion in 'General' started by R314, Jan 7, 2022.

  1. R314

    R314 New Member

    Hello Community,

    I'm new to ISPconfig and I set up a Server (Debian 11) with ISP. I configured that i get a mail, if someone logs in as root.
    Because of the cronjob for "/usr/local/ispconfig/server/server.sh" i get every minute a mail.

    So, what does this script do? What is it important for?

    - R314
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This script is responsible for everything that you configure in ISPConfig and it must be run once a minute as root cronjob.
     
    Th0m likes this.
  3. R314

    R314 New Member

    Wow, thanks for that quick reply!

    Okay..so I have to find another solution for my requirements.

    Thanks!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, you should check your login detection script why it gets triggered by cronjobs too which are not doing a login. The ISPConfig server.sh job runs ". /etc/profile" and in case you have your login detection in there or in a script executed by /etc/profile, then this would explain the false login alerts.
     
  5. R314

    R314 New Member

    Yes, good tip. I'll check that!
     

Share This Page