hosts/gentoo: fix nonstandard path to systemctl command
This commit is contained in:
parent
41e56cb282
commit
f0ec355a33
|
@ -6,7 +6,7 @@ module VagrantPlugins
|
||||||
class NFS
|
class NFS
|
||||||
def self.nfs_check_command(env)
|
def self.nfs_check_command(env)
|
||||||
if systemd?
|
if systemd?
|
||||||
return "/usr/sbin/systemctl status nfsd"
|
return "/usr/bin/systemctl status nfsd"
|
||||||
else
|
else
|
||||||
return "/etc/init.d/nfs status"
|
return "/etc/init.d/nfs status"
|
||||||
end
|
end
|
||||||
|
@ -14,7 +14,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
def self.nfs_start_command(env)
|
def self.nfs_start_command(env)
|
||||||
if systemd?
|
if systemd?
|
||||||
return "/usr/sbin/systemctl start nfsd rpc-mountd rpcbind"
|
return "/usr/bin/systemctl start nfsd rpc-mountd rpcbind"
|
||||||
else
|
else
|
||||||
return "/etc/init.d/nfs restart"
|
return "/etc/init.d/nfs restart"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue