1 #ifndef SERVERMANAGER_H 2 #define SERVERMANAGER_H 15 ServerManager(
const bool autoStartServers =
true, QObject* parent =
nullptr);
29 void startWebServer();
36 void setEnvironment();
38 QProcess m_apacheProcess{
this}, m_gunicornProcess{
this};
45 #endif // SERVERMANAGER_H bool m_isApacheRunning
Apache tomcat server.
Definition: servermanager.h:40
void refreshServers()
Restarts the Apache and gUnicorn servers after 5 seconds.
Definition: servermanager.cpp:32
Manages the Apache and gUnicorn servers for the Ocean Navigator.
Definition: servermanager.h:10
bool m_isGunicornRunning
gUnicorn server
Definition: servermanager.h:39
qint64 m_gunicornPID
PID of gUnicorn process.
Definition: servermanager.h:41
qint64 m_apachePID
PID of apache tomcat process.
Definition: servermanager.h:42