summaryrefslogtreecommitdiff
path: root/community/vagrant/nfs.patch
blob: 13eddf8ad2315e744d7d26d7071e1ac660b76c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- plugins/hosts/arch/cap/nfs.rb.orig	2014-07-23 21:02:12.794095252 +0100
+++ plugins/hosts/arch/cap/nfs.rb	2014-07-23 21:06:54.738384725 +0100
@@ -4,7 +4,7 @@
       class NFS
         def self.nfs_check_command(env)
           if systemd?
-            return "/usr/sbin/systemctl status nfsd"
+            return "/usr/sbin/systemctl status nfs-server"
           else
             return "/etc/rc.d/nfs-server status"
           end
@@ -12,7 +12,7 @@
 
         def self.nfs_start_command(env)
           if systemd?
-            return "/usr/sbin/systemctl start nfsd rpc-idmapd rpc-mountd rpcbind"
+            return "/usr/sbin/systemctl start nfs-server nfs-idmapd nfs-mountd rpcbind"
           else
             return "sh -c 'for s in {rpcbind,nfs-common,nfs-server}; do /etc/rc.d/$s start; done'"
           end