mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Update install
This commit is contained in:
parent
e444092f97
commit
f15871eb70
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,7 @@ exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prereqs
|
# Prereqs
|
||||||
sudo apt_install php-soap php5-imap libawl-php php5-xsl
|
sudo apt_install php-soap php5-imap libawl-php php5-xsl libawl-php
|
||||||
|
|
||||||
|
|
||||||
# Copy files to the right place
|
# Copy files to the right place
|
||||||
|
@ -32,6 +32,9 @@ sudo mkdir -p /var/log/z-push
|
||||||
sudo chmod 750 /var/log/z-push
|
sudo chmod 750 /var/log/z-push
|
||||||
sudo chown www-data:www-data /var/log/z-push
|
sudo chown www-data:www-data /var/log/z-push
|
||||||
|
|
||||||
|
#Copy XMLElement.php
|
||||||
|
sudo ln -s /usr/share/awl/inc/XMLElement.php /var/www/z-push/include/
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
sudo sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
sudo sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
||||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/z-push.conf
|
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/z-push.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue