From f0ec355a335b54a26431b4d71e04ccb5499cc9ae Mon Sep 17 00:00:00 2001 From: Tim Gus Date: Sat, 18 Jan 2014 00:13:54 -0500 Subject: [PATCH] hosts/gentoo: fix nonstandard path to systemctl command --- 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 8f855ed98..5dd2275bf 100644 --- a/plugins/hosts/gentoo/cap/nfs.rb +++ b/plugins/hosts/gentoo/cap/nfs.rb @@ -6,7 +6,7 @@ module VagrantPlugins class NFS def self.nfs_check_command(env) if systemd? - return "/usr/sbin/systemctl status nfsd" + return "/usr/bin/systemctl status nfsd" else return "/etc/init.d/nfs status" end @@ -14,7 +14,7 @@ module VagrantPlugins def self.nfs_start_command(env) if systemd? - return "/usr/sbin/systemctl start nfsd rpc-mountd rpcbind" + return "/usr/bin/systemctl start nfsd rpc-mountd rpcbind" else return "/etc/init.d/nfs restart" end