1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00
This commit is contained in:
Adrien Beudin 2014-12-18 18:08:59 +01:00
commit e444092f97
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{ {
"name": "Z-push", "name": "Z-Push",
"id": "z-push", "id": "z-push",
"description": { "description": {
"en": "Z-Push is an open-source application to synchronize ActiveSync", "en": "Z-Push is an open-source application to synchronize ActiveSync",
@ -11,7 +11,7 @@
"email": "beudbeud@beudibox.fr", "email": "beudbeud@beudibox.fr",
"url": "https://z-push.org" "url": "https://z-push.org"
}, },
"multi_instance": "false", "multi_instance": "true",
"arguments": { "arguments": {
"install" : [ "install" : [
{ {

View file

@ -2,7 +2,7 @@
# Retrieve arguments # Retrieve arguments
domain=$1 domain=$1
path="z-push" path="/Microsoft-Server-ActiveSync"
# Check domain/path availability # Check domain/path availability
sudo yunohost app checkurl $domain$path -a z-push sudo yunohost app checkurl $domain$path -a z-push
@ -37,7 +37,7 @@ 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
# Enable api for client # Enable api for client
sudo yunohost app setting z-push skipped_uris -v "/Microsoft-Server-ActiveSync" sudo yunohost app setting z-push skipped_urls -v "/"
# Reload Nginx and regenerate SSOwat conf # Reload Nginx and regenerate SSOwat conf
sudo service nginx reload sudo service nginx reload