Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Restarting service always in the end of a gatekeeper installation, so…
Browse files Browse the repository at this point in the history
… that updates dont require manual service starting.
  • Loading branch information
organom committed Dec 27, 2018
1 parent 19cbf81 commit ff971d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,10 @@ private static bool InstallBeameGateKeeper(string token)
Console.WriteLine("--> Registering token");
Helper.StartAndCheckReturn(Path.Combine(rootFolder, @"beame-gatekeeper.cmd"), "creds getCreds --regToken '" + token + "'",
Path.Combine(progFolder, "nodejs"), "", gkenv);

Console.WriteLine("--> Restarting service");
Helper.StartAndCheckReturn(nssmFile, "restart \"" + gatekeeperName + "\"");
}

Console.WriteLine("--> Restarting service");
Helper.StartAndCheckReturn(nssmFile, "restart \"" + gatekeeperName + "\"");

return result;
}
Expand Down

0 comments on commit ff971d0

Please sign in to comment.