diff --git a/debian/alternc.cron.d b/debian/alternc.cron.d index 876d0a2d..1c8c3b84 100644 --- a/debian/alternc.cron.d +++ b/debian/alternc.cron.d @@ -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 diff --git a/debian/alternc.dirs b/debian/alternc.dirs index 03e3e6df..f921fbc9 100644 --- a/debian/alternc.dirs +++ b/debian/alternc.dirs @@ -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 diff --git a/debian/rules b/debian/rules index 403860ce..b6019c99 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/etc/alternc/alternc.ini b/etc/alternc/alternc.ini index 5ffc76ef..38d08af5 100644 --- a/etc/alternc/alternc.ini +++ b/etc/alternc/alternc.ini @@ -1,2 +1,3 @@ -; 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 :)