From 743cb2461023289525de1cb6c0983d34b9bcc792 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Fri, 15 Feb 2019 16:38:39 -0700 Subject: nc-automount: fix NFS delay --- bin/ncp/SYSTEM/nc-automount.sh | 1 + changelog.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/ncp/SYSTEM/nc-automount.sh b/bin/ncp/SYSTEM/nc-automount.sh index 89789aa9..b85e8776 100644 --- a/bin/ncp/SYSTEM/nc-automount.sh +++ b/bin/ncp/SYSTEM/nc-automount.sh @@ -110,6 +110,7 @@ EOF mkdir -p /etc/systemd/system/nfs-server.service.d cat > /etc/systemd/system/nfs-server.service.d/ncp-delay-automount.conf <<'EOF' [Service] +ExecStartPre= ExecStartPre=/bin/bash -c "/bin/sleep 30; /usr/sbin/exportfs -r" EOF diff --git a/changelog.md b/changelog.md index bfb3f951..c53b0747 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ -[v1.6.5](https://github.com/nextcloud/nextcloudpi/commit/a7a87d3) (2019-02-15) nc-trusted-domains: empty values by default +[v1.6.6](https://github.com/nextcloud/nextcloudpi/commit/93cc781) (2019-02-15) nc-automount: fix NFS delay -[v1.6.4](https://github.com/nextcloud/nextcloudpi/commit/4e04339) (2019-02-14) nc-nextcloud: update description +[v1.6.5 ](https://github.com/nextcloud/nextcloudpi/commit/c28868d) (2019-02-15) nc-trusted-domains: empty values by default + +[v1.6.4 ](https://github.com/nextcloud/nextcloudpi/commit/4e04339) (2019-02-14) nc-nextcloud: update description [v1.6.3](https://github.com/nextcloud/nextcloudpi/commit/af5e35d) (2019-02-13) ncp-update-nc: BTRFS basedir not supported -- cgit v1.2.3