34 #include "../Signals/signal.h"
71 int main(
int argc,
char **argv);
92 std::shared_ptr<Service_Impl> impl;
virtual void service_reload()=0
Called when the service is asked to reload its configuration.
Service(const std::string &service_name)
Constructs a service object.
Service/daemon class.
Definition: service.h:45
int main(int argc, char **argv)
Process command line and run service.
virtual void service_start(std::vector< std::string > &args)=0
Called when the service is asked to start.
friend class Service_Impl
Definition: service.h:94
const std::string & get_service_name() const
Returns the service name.
virtual void service_stop()=0
Called when the service is asked to stop.