Merge pull request #4418 from gpoulin2/nfs_gentoo_systemd

fix nfs on gentoo with systemd
This commit is contained in:
Mitchell Hashimoto 2014-08-31 10:51:12 -07:00
commit 3974633dc2
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ module VagrantPlugins
class NFS
def self.nfs_check_command(env)
if systemd?
return "#{systemctl_path} status nfsd"
return "#{systemctl_path} status nfs-server.service"
else
return "/etc/init.d/nfs status"
end
@ -15,7 +15,7 @@ module VagrantPlugins
def self.nfs_start_command(env)
if systemd?
return "#{systemctl_path} start nfsd rpc-mountd rpcbind"
return "#{systemctl_path} start rpcbind nfs-server.service"
else
return "/etc/init.d/nfs restart"
end