mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
update scripts
This commit is contained in:
parent
12a4d36a4d
commit
241e7c26ee
2 changed files with 5 additions and 14 deletions
|
@ -2,8 +2,8 @@
|
||||||
"name": "Z-push",
|
"name": "Z-push",
|
||||||
"id": "z-push",
|
"id": "z-push",
|
||||||
"description": {
|
"description": {
|
||||||
"en": "A self hostable read-it-later app",
|
"en": "Z-Push is an open-source application to synchronize ActiveSync",
|
||||||
"fr": "Une application de lecture-plus-tard auto-hébergeable"
|
"fr": "Z-Push est un serveur open source de synchronisation ActiveSync"
|
||||||
},
|
},
|
||||||
"licence": "WTFPL-2",
|
"licence": "WTFPL-2",
|
||||||
"developer": {
|
"developer": {
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
"email": "beudbeud@beudibox.fr",
|
"email": "beudbeud@beudibox.fr",
|
||||||
"url": "http://www.z-push.org"
|
"url": "http://www.z-push.org"
|
||||||
},
|
},
|
||||||
"multi_instance": "true",
|
"multi_instance": "false",
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
|
@ -21,15 +21,6 @@
|
||||||
"fr": "Choisissez un domaine pour Z-push"
|
"fr": "Choisissez un domaine pour Z-push"
|
||||||
},
|
},
|
||||||
"example": "domain.org"
|
"example": "domain.org"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "path",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose a path for Z-push",
|
|
||||||
"fr": "Choisissez un chemin pour Z-push"
|
|
||||||
},
|
|
||||||
"example": "/z-push",
|
|
||||||
"default": "/z-push"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Retrieve arguments
|
# Retrieve arguments
|
||||||
domain=$1
|
domain=$1
|
||||||
path=$2
|
path="z-push"
|
||||||
|
|
||||||
# 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 "/"
|
sudo yunohost app setting z-push skipped_uris -v "/Microsoft-Server-ActiveSync"
|
||||||
|
|
||||||
# Reload Nginx and regenerate SSOwat conf
|
# Reload Nginx and regenerate SSOwat conf
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
|
|
Loading…
Add table
Reference in a new issue