Moving to GitHub.
[platal.git] / upgrade / 0.9.2 / update.sh
CommitLineData
0337d704 1#!/bin/bash
2
3. ../inc/pervasive.sh
4
5mailman_stop
6mailman_templates
7mailman_start
8
9
10###########################################################
11for sql in *.sql
12do
13 echo -n $sql
14 $MYSQL x4dat < $sql &>/dev/null || echo -n " ERROR"
15 echo .
16done
17
18###########################################################
19echo "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###########################################################
26echo "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-* .
8ac008e9 33 in templates/stats : ln -s /home/web/stats/lastParselog* .
0337d704 34
35"