hosts/gentoo: fix nonstandard path to systemctl command

This commit is contained in:
Tim Gus 2014-01-18 00:13:54 -05:00
parent 41e56cb282
commit f0ec355a33
1 changed files with 2 additions and 2 deletions

View File

@ -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