source: npl/mailserver/zpush/post.z-push @ ce9f9b3

perl-5.22
Last change on this file since ce9f9b3 was 1163be4, checked in by Edwin Eefting <edwin@datux.nl>, 7 years ago

Migrated from Zarafa 7.2.4 to Kopano 8.6.6, including webapp

  • Property mode set to 100644
File size: 451 bytes
Line 
1#!/bin/bash
2
3
4mkdir -p /var/lib/z-push
5chown -R nobody:nogroup /var/lib/z-push || exit 1
6
7mkdir -p /var/log/z-push
8chown -R nobody:nogroup /var/log/z-push || exit 1
9
10
11
12ln -sf /usr/share/z-push/z-push-admin.php /usr/bin/z-push-admin &>/dev/null
13ln -sf /usr/share/z-push/z-push-top.php /usr/bin/z-push-top &>/dev/null
14
15#remove old z-push
16rm -rf /var/www/htdocs/syn3/z-push
17
18#fix states
19z-push-admin -a fixstates
20
21
22svcrestart /service/apache2 || exit 1
Note: See TracBrowser for help on using the repository browser.