[logrotate] change name of directory "stats"

Discussion in 'Tips/Tricks/Mods' started by stefek143, Sep 17, 2012.

  1. stefek143

    stefek143 New Member

    Hello,
    I' using ISPConfig3 on centos, all works perfectly but one think I need to do. every website have folder "stats" where is saved a logrotates to awstats or webalizer, I need to change this folder name. now is $HOME/stats . In cron every 24h is creating a new folder, even when I delete folder stats. Is possible to change name of this folder "stats" ?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The name is not configurable in ispconfig, so you would have to change the paths in the apache plugin and cron_daily.php script.
     
  3. stefek143

    stefek143 New Member

    apache plugin ? where can I find it?
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    /usr/local/isponfig/server/plugins-available/
     

Share This Page