public:
service_record(service_set *set, string name)
- : service_state(service_state_t::STOPPED), desired_state(service_state_t::STOPPED),
- auto_restart(false), smooth_recovery(false),
+ : service_name(name), service_state(service_state_t::STOPPED),
+ desired_state(service_state_t::STOPPED), auto_restart(false), smooth_recovery(false),
pinned_stopped(false), pinned_started(false), waiting_for_deps(false),
waiting_for_console(false), have_console(false), waiting_for_execstat(false),
start_explicit(false), prop_require(false), prop_release(false), prop_failure(false),
start_skipped(false), force_stop(false)
{
services = set;
- service_name = name;
record_type = service_type_t::DUMMY;
socket_perms = 0;
}
// a fatal error.
static void process_dep_dir(dirload_service_set &sset,
const char *servicename,
- string service_filename,
+ const string &service_filename,
std::list<prelim_dep> &deplist, const std::string &depdirpath,
dependency_type dep_type)
{