#!/usr/bin/env bash

yesterday=`date -d -1day +%Y%m%d`

rm -rf /var/log/php-fpm/*

service php-fpm reload

rm -rf /dev/shm/$yesterday*
