return (_port != 0);
}
+ virtual bool has_syslog() const
+ {
+ return false;
+ }
+
// Reset a server if another process has killed the server
void reset()
{
return (_pid > 1);
}
+ bool wait_for_pidfile() const;
+
bool check_pid(pid_t pid_arg) const
{
return (pid_arg > 1);
bool command(std::string& command_arg);
protected:
- void nap();
bool set_pid_file();
private: