Skip to content

Commit c86e707

Browse files
committed
Add z-push configuration.
1 parent ad6a09d commit c86e707

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install/upgrade/0.9.8-29.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ if [ ! -z "$MAIL_SYSTEM" ]; then
105105

106106
apt-get -qq update > /dev/null 2>&1
107107
apt-get -qq -y install z-push-common z-push-backend-imap z-push-backend-combined z-push-autodiscover > /dev/null 2>&1
108+
109+
# Copy configuration files
110+
cp -f $hestiacp/zpush/z-push.conf.php /etc/z-push/
111+
cp -f $hestiacp/zpush/imap.conf.php /etc/z-push/
112+
113+
# Set permissions - chmod 777 needs further testing!
114+
set_perms www-data www-data 777 /var/lib/z-push
115+
set_perms www-data www-data 777 /var/log/z-push
108116
fi
109117

110118
# Update default page templates

0 commit comments

Comments
 (0)