Alexandros Ioannides 6 rokov pred
rodič
commit
14720fc2b5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      install/hst-install-ubuntu.sh

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -1186,7 +1186,7 @@ for pconf in $(find /etc/php* -name php.ini); do
     sed -i 's%_open_tag = Off%_open_tag = On%g' $pconf
     sed -i 's%_open_tag = Off%_open_tag = On%g' $pconf
 done
 done
 
 
-# Cleanup php session files not changed in the last 7 days (60*24*7 mintes)
+# Cleanup php session files not changed in the last 7 days (60*24*7 minutes)
 echo '#!/bin/sh' > /etc/cron.daily/php-session-cleanup
 echo '#!/bin/sh' > /etc/cron.daily/php-session-cleanup
 echo "find -O3 /home/*/tmp/ -ignore_readdir_race -depth -mindepth 1 -name 'sess_*' -type f -cmin '+10080' -delete > /dev/null 2>&1" >> /etc/cron.daily/php-session-cleanup
 echo "find -O3 /home/*/tmp/ -ignore_readdir_race -depth -mindepth 1 -name 'sess_*' -type f -cmin '+10080' -delete > /dev/null 2>&1" >> /etc/cron.daily/php-session-cleanup
 chmod 644 /etc/cron.daily/php-session-cleanup
 chmod 644 /etc/cron.daily/php-session-cleanup