diff options
Diffstat (limited to 'www/nextcloud/files/occ.in')
-rw-r--r-- | www/nextcloud/files/occ.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/nextcloud/files/occ.in b/www/nextcloud/files/occ.in index 6dfbff45eae4..58bb53d1440b 100644 --- a/www/nextcloud/files/occ.in +++ b/www/nextcloud/files/occ.in @@ -9,5 +9,8 @@ for arg in "$@" ; do fi done +( cd %%WWWDIR%% -su -m %%NEXTCLOUD_USERNAME%% -c "%%LOCALBASE%%/bin/php %%WWWDIR%%/occ ${args}" +su -m %%NEXTCLOUD_USERNAME%% -c \ + "%%LOCALBASE%%/bin/php --define apc.enable_cli=1 %%WWWDIR%%/occ ${args}" +) |