1 |
dungog |
1.1 |
--- smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-update.update2 2008-12-22 23:00:13.000000000 +1100 |
2 |
|
|
+++ smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-update 2008-12-22 23:01:45.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 |
|
|
+/bin/chown -R www:www /var/www/html/webaccess/tmp |
13 |
|
|
+/bin/chmod 755 /var/www/html/z-push/state |
14 |
|
|
+/bin/chown -R www:www /var/www/html/z-push/state |
15 |
|
|
|
16 |
|
|
-# remoteaccess-update |
17 |
|
|
-/sbin/e-smith/signal-event remoteaccess-update |
18 |
|
|
- |
19 |
|
|
-# webaccess config |
20 |
|
|
-/usr/bin/chown -R www:www /var/www/html/webaccess/tmp |
21 |
|
|
-/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
22 |
|
|
-/usr/bin/sv restart /service/httpd-e-smith |
23 |
|
|
- |
24 |
|
|
-# expand zarafa templates |
25 |
|
|
-/etc/e-smith/events/actions/zarafa-expand-templates |
26 |
|
|
- |
27 |
|
|
-# start services |
28 |
|
|
-/etc/e-smith/events/actions/zarafa-services restart |