diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2015-01-19 13:59:55 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2015-01-19 13:59:55 +0300 |
commit | 60d33496e097afc161e9ce949bb92ad6f3942619 (patch) | |
tree | 9fc650b780ac03a8f2c72b35de44756564e22211 /net-fs/nfs-utils/files/nfsd.service-r1 | |
parent | e3759e2c6961fafce2deac9701f5a2d1c61e3a43 (diff) |
nfs-utils scm build
Diffstat (limited to 'net-fs/nfs-utils/files/nfsd.service-r1')
-rw-r--r-- | net-fs/nfs-utils/files/nfsd.service-r1 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-fs/nfs-utils/files/nfsd.service-r1 b/net-fs/nfs-utils/files/nfsd.service-r1 new file mode 100644 index 0000000..e15cf98 --- /dev/null +++ b/net-fs/nfs-utils/files/nfsd.service-r1 @@ -0,0 +1,15 @@ +[Unit] +Description=NFS server +After=rpcbind.service +Requires=rpcbind.service + +[Service] +Type=oneshot +ExecStart=/usr/sbin/rpc.nfsd 8 +ExecStartPost=/usr/sbin/exportfs -a +ExecStop=/usr/sbin/rpc.nfsd 0 +ExecStopPost=/usr/sbin/exportfs -a -u +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target |