aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-07-08 15:53:40 +0800
committerChen Qi <Qi.Chen@windriver.com>2015-07-08 16:50:13 +0800
commit8ae80387dffec88b2e2e0461224132aa363887a7 (patch)
tree7071ed2627cff6cf9c3f60b9e05d435569631de0 /meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount
parentdf6ddc4bf9795212fda87f9d401893eb254074da (diff)
downloadopenembedded-core-contrib-8ae80387dffec88b2e2e0461224132aa363887a7.tar.gz
nfs-utils: fix to start nfs-server correctly in systemdChenQi/nfs-utils-systemd
Add /etc/modules-load.d/nfsd.conf so that the system loads nfsd at start-up. Add proc-fs-nfsd.mount systemd unit file because it's needed for nfs server to start correctly. After this change, in a systemd based image, we can use `systemctl start nfs-server' to start the nfs server and things would work correctly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount b/meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount
new file mode 100644
index 0000000000..630801b375
--- /dev/null
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount
@@ -0,0 +1,8 @@
+[Unit]
+Description=NFSD configuration filesystem
+After=systemd-modules-load.service
+
+[Mount]
+What=nfsd
+Where=/proc/fs/nfsd
+Type=nfsd