Skip to content

Commit 1150ce5

Browse files
authored
Merge pull request #574 from mcshooter/addLocalWindowsMakeCommand
Update windows command in README to allow windows to be build alone locally
2 parents 9ce0dbf + c266c43 commit 1150ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,13 @@ To develop NPD on Windows you'll need to setup your Windows machine for Go devel
221221
# Run these commands in the node-problem-detector directory.
222222
223223
# Build in MINGW64 Window
224-
make clean windows-binaries
224+
make clean ENABLE_JOURNALD=0 build-binaries
225225
226226
# Test in MINGW64 Window
227227
make test
228228
229229
# Run with containerd log monitoring enabled in Command Prompt. (Assumes containerd is installed.)
230-
%CD%\output\windows_amd64\node-problem-detector.exe --logtostderr --enable-k8s-exporter=false --config.system-log-monitor=%CD%\config\windows-containerd-monitor-filelog.json --config.system-stats-monitor=config\windows-system-stats-monitor.json
230+
%CD%\output\windows_amd64\bin\node-problem-detector.exe --logtostderr --enable-k8s-exporter=false --config.system-log-monitor=%CD%\config\windows-containerd-monitor-filelog.json --config.system-stats-monitor=config\windows-system-stats-monitor.json
231231
232232
# Configure NPD to run as a Windows Service
233233
sc.exe create NodeProblemDetector binpath= "%CD%\node-problem-detector.exe [FLAGS]" start= demand

0 commit comments

Comments
 (0)