Merge pull request #2858 from timgus/gentoo_systemctl

hosts/gentoo: fix nonstandard path to systemctl command
This commit is contained in:
Mitchell Hashimoto 2014-01-18 11:00:57 -08:00
commit c9a718d5c2
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