From d14582a1d92e036780166a0b5ec0494d7353cc75 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 13 Jan 2023 16:20:42 +0100 Subject: Implemented and tested managed FCGI application start, separated out process check functions to libreichwein --- tests/fastcgiprocess.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 tests/fastcgiprocess.h (limited to 'tests/fastcgiprocess.h') diff --git a/tests/fastcgiprocess.h b/tests/fastcgiprocess.h deleted file mode 100644 index ce7bf74..0000000 --- a/tests/fastcgiprocess.h +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#include -#include - -#include -#include -#include -#include -#include -#include - -class FastCGIProcess -{ -public: - FastCGIProcess(const std::filesystem::path& path, const std::string& host, unsigned short port); - ~FastCGIProcess(); - bool is_running(); - -private: - void start(); - void stop(); - - pid_t m_pid; - std::string m_command; - std::string m_host; - unsigned short m_port; -}; -- cgit v1.2.3