diff --git a/README.md b/README.md index 84f7f7c..612863d 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ this package: * Integrate with YunoHost users and SSO - i.e. logout button * Allow one user to be the administrator (set at the installation) + * Allow multiple instances of this application * Optionally access the user home folder from Nextcloud files (set at the installation, the sharing is enabled by default) * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's diff --git a/check_process b/check_process index df67e3a..101cce1 100644 --- a/check_process +++ b/check_process @@ -14,7 +14,7 @@ upgrade=1 upgrade=1 from_commit=68c2f41da6b33bd8c949e5ba624bedba08c448be backup_restore=1 - multi_instance=0 + multi_instance=1 incorrect_path=1 port_already_use=0 change_url=0 diff --git a/manifest.json b/manifest.json index 3abce85..8c4a36f 100644 --- a/manifest.json +++ b/manifest.json @@ -16,7 +16,7 @@ "requirements": { "yunohost": ">= 2.7.2" }, - "multi_instance": false, + "multi_instance": true, "services": [ "nginx", "php5-fpm", diff --git a/scripts/install b/scripts/install index 0b2aac1..f46d396 100755 --- a/scripts/install +++ b/scripts/install @@ -274,7 +274,7 @@ chmod 755 /home/yunohost.app #================================================= # Use logrotate to manage application logfile -ynh_use_logrotate "/home/yunohost.app/nextcloud/data/nextcloud.log" +ynh_use_logrotate "${datadir}/nextcloud.log" #================================================= # SETUP SSOWAT