From d5c1f0058b43c22ebb132f51df0ea144fbd927ec Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sun, 9 Dec 2018 18:08:33 -0700 Subject: rework to use JSON based cfg and more --- etc/ncp-config.d/NFS.cfg | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 etc/ncp-config.d/NFS.cfg (limited to 'etc/ncp-config.d/NFS.cfg') diff --git a/etc/ncp-config.d/NFS.cfg b/etc/ncp-config.d/NFS.cfg new file mode 100644 index 00000000..38298e74 --- /dev/null +++ b/etc/ncp-config.d/NFS.cfg @@ -0,0 +1,36 @@ +{ + "id": "NFS", + "name": "NFS", + "title": "NFS", + "description": "NFS network file system server (for Linux LAN)", + "info": "If we intend to modify the data folder through NFS,\nthen we have to synchronize NextCloud to make it aware of the changes.\n\nThis can be done manually or automatically using 'nc-scan' and 'nc-scan-auto'", + "infotitle": "Instructions for external synchronization", + "params": [ + { + "id": "ACTIVE", + "name": "ACTIVE", + "value": "no", + "type": "bool" + }, + { + "id": "DIR", + "name": "DIR", + "value": "/media/USBdrive/ncdata/admin/files" + }, + { + "id": "SUBNET", + "name": "SUBNET", + "value": "192.168.1.0/24" + }, + { + "id": "USER", + "name": "USER", + "value": "www-data" + }, + { + "id": "GROUP", + "name": "GROUP", + "value": "www-data" + } + ] +} -- cgit v1.2.3