39 |
|
|
40 |
cd /var/lib/pootle/tmp |
cd /var/lib/pootle/tmp |
41 |
|
|
42 |
|
# Sync database stores to filesystem |
43 |
|
django-admin sync_stores --settings=pootle.settings &> /dev/null |
44 |
|
|
45 |
for ver in sme7 sme8 |
for ver in sme7 sme8 |
46 |
do |
do |
47 |
# Update anaconda template |
# Update anaconda template |
128 |
|
|
129 |
#========================================================== |
#========================================================== |
130 |
|
|
131 |
|
# Sync filesystem to database stores |
132 |
|
django-admin update_stores --settings=pootle.settings &> /dev/null |
133 |
|
|
134 |
# Recalculate stats and restart server |
# Recalculate stats and restart server |
135 |
/usr/sbin/PootleServer --refreshstats &> /dev/null |
django-admin refresh_stats --settings=pootle.settings &> /dev/null |
136 |
|
|
137 |
#========================================================== |
#========================================================== |
138 |
|
|