Skip to content

Commit

Permalink
Notify systemd that the service is started
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored May 24, 2024
1 parent 2c826ae commit 494a296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/rm2fb/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ serverMain(int argc, char* argv[], char** envp) { // NOLINT
std::vector<pollfd> pollfds;

std::cout << "rm2fb-server started!\n";
sd_notify(0, "READY=1");
while (running) {
pollfds.clear();
pollfds.reserve(tcpClients.size() + fixedFdNum);
Expand Down

0 comments on commit 494a296

Please sign in to comment.