-#include <stdio.h>
#include <unistd.h>
-#include <signal.h>
+#include <csignal>
#include <algorithm>
#include "stg/tariffs.h"
STG_CONFIG * stgConf = (STG_CONFIG *)d;
stgConf->isRunning = true;
-stgConf->config.Run(&stgConf->config);
+stgConf->config.Run();
stgConf->isRunning = false;
return NULL;