X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=bin%2Fmcollectived;fp=bin%2Fmcollectived;h=186387753351d01b509186550fd60febfb403d15;hb=d1f1649ba43c5cbc43c4beb2380096ba051d646a;hp=4f0d1d8f056ccb7cc7667e751308ed3c1402a9d2;hpb=8a3fe7daeecccf43dd71c59371c5005400d35101;p=packages%2Fprecise%2Fmcollective.git diff --git a/bin/mcollectived b/bin/mcollectived index 4f0d1d8..1863877 100755 --- a/bin/mcollectived +++ b/bin/mcollectived @@ -9,7 +9,11 @@ opts = GetoptLong.new( [ '--pidfile', '-p', GetoptLong::REQUIRED_ARGUMENT] ) -configfile = "/etc/mcollective/server.cfg" +if MCollective::Util.windows? + configfile = File.join(MCollective::Util.windows_prefix, "etc", "server.cfg") +else + configfile = "/etc/mcollective/server.cfg" +end pid = "" opts.each do |opt, arg|