1 |
dungog |
1.1 |
--- smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-update.update 2008-12-22 18:54:30.000000000 +1100 |
2 |
|
|
+++ smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-update 2008-12-22 18:54:54.000000000 +1100 |
3 |
|
|
@@ -1,18 +1,10 @@ |
4 |
|
|
#!/bin/sh |
5 |
|
|
|
6 |
|
|
-# initialize-default-databases |
7 |
|
|
-/etc/e-smith/events/actions/initialize-default-databases |
8 |
|
|
+# update files controled by upstream sources |
9 |
|
|
+/bin/mkdir -p /var/www/html/webaccess/tmp |
10 |
|
|
+/bin/mkdir -p /var/www/html/z-push/state |
11 |
|
|
|
12 |
|
|
-# remoteaccess-update |
13 |
|
|
-/sbin/e-smith/signal-event remoteaccess-update |
14 |
|
|
- |
15 |
|
|
-# webaccess config |
16 |
|
|
/usr/bin/chown -R www:www /var/www/html/webaccess/tmp |
17 |
|
|
-/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
18 |
|
|
-/usr/bin/sv restart /service/httpd-e-smith |
19 |
|
|
- |
20 |
|
|
-# expand zarafa templates |
21 |
|
|
-/etc/e-smith/events/actions/zarafa-expand-templates |
22 |
|
|
|
23 |
|
|
-# start services |
24 |
|
|
-/etc/e-smith/events/actions/zarafa-services restart |
25 |
|
|
+/usr/bin/chmod 755 /var/www/html/z-push/state |
26 |
|
|
+/usr/bin/chown -R www:www /var/www/html/z-push/state |