Changes between Version 6 and Version 7 of Crin1


Ignore:
Timestamp:
Apr 7, 2016, 1:52:56 PM (2 years ago)
Author:
chris
Comment:

wiki:Crin1#tmpreaper section added

Legend:

Unmodified
Added
Removed
Modified
  • Crin1

    v6 v7  
    1111* [[ownCloud]]
    1212* [[phpMyAdmin]]
     13
     14== tmpreaper ==
     15
     16PHP session files are deleted when older than a day via `tmpreaper` which was setup on ticket:44#comment:2 and is configured via `/etc/tmpreaper.conf` which contains:
     17
     18{{{
     19TMPREAPER_PROTECT_EXTRA=''
     20TMPREAPER_TIME=1d
     21TMPREAPER_DIRS='/tmp/. /var/www/piwik/tmp/. /var/www/mediawiki/tmp/. /var/www/mediawiki/w/tmp/. /var/www/owncloud/tmp/.'
     22TMPREAPER_DELAY='256'
     23TMPREAPER_ADDITIONALOPTIONS=''
     24}}}
     25
     26And is run via cron:
     27
     28{{{
     29crontab -l -u piwik | grep -v ^#
     3005 23 * * * tmpreaper /var/www/piwik/tmp
     31crontab -l -u owncloud | grep -v ^#
     3215 23 * * * tmpreaper /var/www/owncloud/tmp
     33crontab -l -u mediawiki | grep -v ^#
     3410 23 * * * tmpreaper /var/www/mediawiki/w/tmp /var/www/mediawiki/tmp
     35}}}
    1336
    1437== iptables ==