Commit 61f323d3 authored by Alan Garcia's avatar Alan Garcia

On passe sur les sessions "normale" de Debian pour AlternC

parent a90cd831
......@@ -24,9 +24,5 @@
# Once a week at 7am, optimise the AlternC database
0 1 * * 7 alterncpanel /usr/lib/alternc/alternc-dboptimize
# We change the session directory... debian's patch modified :
# Look for and purge old sessions every 30 minutes
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/alternc/sessions/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
# Every 30 minutes, do cron_users actions
00,30 * * * * alterncpanel /usr/lib/alternc/cron_users.sh
......@@ -19,7 +19,6 @@ usr/share/alternc/install
usr/share/locale/fr/LC_MESSAGES
var/alternc/cgi-bin
var/alternc/exec.usr
var/alternc/sessions
var/alternc/tmp
var/backups/alternc
/var/lib/alternc/apache-vhost
......
......@@ -61,7 +61,6 @@ install: build
chmod 644 debian/alternc/etc/alternc/phpmyadmin.inc.php
# Group and user 1999 reference alterncpanel
chown -R 1999:1999 debian/alternc/usr/share/alternc/panel
chmod 1733 debian/alternc/var/alternc/sessions
chmod -R 644 debian/alternc/usr/share/alternc/panel
chmod -R a+X debian/alternc/usr/share/alternc/panel
chown -R www-data:www-data debian/alternc/var/log/alternc debian/alternc/var/alternc/tmp
......
; alternc-slave specific configuration for shared sessions
session.save_path = /var/alternc/sessions
; We use to specify some var here (example: session.save_path )
; Actually, we don't need any. But we keep this file for the futur :)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment