From a2985832ebb3c281ec3c17c956749d7f0e60f1df Mon Sep 17 00:00:00 2001 From: Guillaume Poulin Date: Sun, 31 Aug 2014 16:40:28 +0800 Subject: [PATCH] fix nfs on gentoo with systemd --- plugins/hosts/gentoo/cap/nfs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/hosts/gentoo/cap/nfs.rb b/plugins/hosts/gentoo/cap/nfs.rb index 2cdbd35bd..737e49fc9 100644 --- a/plugins/hosts/gentoo/cap/nfs.rb +++ b/plugins/hosts/gentoo/cap/nfs.rb @@ -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