first reimport from platal
[platal.git] / upgrade / 0.9.2 / update.sh
1 #!/bin/bash
2
3 . ../inc/pervasive.sh
4
5 mailman_stop
6 mailman_templates
7 mailman_start
8
9
10 ###########################################################
11 for sql in *.sql
12 do
13 echo -n $sql
14 $MYSQL x4dat < $sql &>/dev/null || echo -n " ERROR"
15 echo .
16 done
17
18 ###########################################################
19 echo "STILL TODO :
20 - update the mailman-rpc daemon
21 - insert scripts/cron/send_notifs.php in the crontab
22 suggested : 0 4 * * 6 (it means every saturday at 4 AM)
23 "
24
25 ###########################################################
26 echo "To make statistics work :
27 - remove old cron (web cron) : /home/web/bin/nbx,
28 genere.sh,genereParselog,genereParselog2
29 - add new scripts (from scripts/cron/stats)in cron
30 evolution-inscrits-mails, plot-graphs, mailParselog
31 - add symlinks :
32 in htdocs/stats : ln -s /home/web/stats/graph-* .
33 in templates/stats : ln -s /home/web/stats/lastParselog* .
34
35 "