Skip to content

Commit

Permalink
Change health_status dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Nov 28, 2023
1 parent 5b19298 commit 299d1a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion healthcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using namespace std::chrono_literals;
std::chrono::steady_clock::time_point last_msg_time;

void write_health_status(const std::string &status) {
std::ofstream healthFile("/health_status.txt");
std::ofstream healthFile("/var/tmp/health_status.txt");
healthFile << status;
}

Expand Down
2 changes: 1 addition & 1 deletion healthcheck.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

HEALTHCHECK_FILE="/health_status.txt"
HEALTHCHECK_FILE="/var/tmp/health_status.txt"


# Now check the health status
Expand Down

0 comments on commit 299d1a1

Please sign in to comment.