How To Trigger Conf File Rewrite?

Discussion in 'General' started by jonwatson, Mar 31, 2010.

  1. jonwatson

    jonwatson New Member

    Hi All,

    I used to know this, but can't remember now and can't seem to find it in the forums.

    I want to make a wholesale change to the spam hits setting for every user on the system. I want to do this via phpMyAdmin. I know from experience, though, that simply changing the value in the database won't do it. I need to do something else that will trigger ISPConfig to rewrite all of the user's configuration files with this new value.

    The question is: what is that thing I need to do?

    Thanks,

    Jon
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Change the "status" field of the isp_isp_user database for all changed records to 'u'. The possible statuses are:

    u = update
    n = new
    d = delete
     
  3. jonwatson

    jonwatson New Member

    Great, thanks.

    And do I need to restart anything to trigger ISPConfig to read the database to notice these u records?

    Thanks,

    Jon
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Run
    Code:
    touch /home/admispconfig/ispconfig/.run
    This will cause the ISPConfig backend to process your changes.
     
  5. jonwatson

    jonwatson New Member

    That's it! Thanks,

    Jon
     

Share This Page