On passe sur les sessions "normale" de Debian pour AlternC
This commit is contained in:
parent
a90cd831a7
commit
61f323d3a7
|
@ -24,9 +24,5 @@
|
||||||
# Once a week at 7am, optimise the AlternC database
|
# Once a week at 7am, optimise the AlternC database
|
||||||
0 1 * * 7 alterncpanel /usr/lib/alternc/alternc-dboptimize
|
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
|
# Every 30 minutes, do cron_users actions
|
||||||
00,30 * * * * alterncpanel /usr/lib/alternc/cron_users.sh
|
00,30 * * * * alterncpanel /usr/lib/alternc/cron_users.sh
|
||||||
|
|
|
@ -19,7 +19,6 @@ usr/share/alternc/install
|
||||||
usr/share/locale/fr/LC_MESSAGES
|
usr/share/locale/fr/LC_MESSAGES
|
||||||
var/alternc/cgi-bin
|
var/alternc/cgi-bin
|
||||||
var/alternc/exec.usr
|
var/alternc/exec.usr
|
||||||
var/alternc/sessions
|
|
||||||
var/alternc/tmp
|
var/alternc/tmp
|
||||||
var/backups/alternc
|
var/backups/alternc
|
||||||
/var/lib/alternc/apache-vhost
|
/var/lib/alternc/apache-vhost
|
||||||
|
|
|
@ -61,7 +61,6 @@ install: build
|
||||||
chmod 644 debian/alternc/etc/alternc/phpmyadmin.inc.php
|
chmod 644 debian/alternc/etc/alternc/phpmyadmin.inc.php
|
||||||
# Group and user 1999 reference alterncpanel
|
# Group and user 1999 reference alterncpanel
|
||||||
chown -R 1999:1999 debian/alternc/usr/share/alternc/panel
|
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 644 debian/alternc/usr/share/alternc/panel
|
||||||
chmod -R a+X 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
|
chown -R www-data:www-data debian/alternc/var/log/alternc debian/alternc/var/alternc/tmp
|
||||||
|
|
|
@ -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 :)
|
||||||
|
|
Loading…
Reference in New Issue