Lines Matching refs:pid_file_pathspec
148 if (!s->pid_file_pathspec) in service_unwatch_pid_file()
151 log_unit_debug(UNIT(s), "Stopping watch for PID file %s", s->pid_file_pathspec->path); in service_unwatch_pid_file()
152 path_spec_unwatch(s->pid_file_pathspec); in service_unwatch_pid_file()
153 path_spec_done(s->pid_file_pathspec); in service_unwatch_pid_file()
154 s->pid_file_pathspec = mfree(s->pid_file_pathspec); in service_unwatch_pid_file()
3197 log_unit_debug(UNIT(s), "Setting watch for PID file %s", s->pid_file_pathspec->path); in service_watch_pid_file()
3199 r = path_spec_watch(s->pid_file_pathspec, service_dispatch_inotify_io); in service_watch_pid_file()
3204 …g_unit_debug(UNIT(s), "Trying to read PID file %s in case it changed", s->pid_file_pathspec->path); in service_watch_pid_file()
3209 …t_error_errno(UNIT(s), r, "Failed to set a watch for PID file %s: %m", s->pid_file_pathspec->path); in service_watch_pid_file()
3218 assert(!s->pid_file_pathspec); in service_demand_pid_file()
3238 s->pid_file_pathspec = ps; in service_demand_pid_file()
3254 assert(s->pid_file_pathspec); in service_dispatch_inotify_io()
3255 assert(path_spec_owns_inotify_fd(s->pid_file_pathspec, fd)); in service_dispatch_inotify_io()
3358 if (s->pid_file_pathspec && in service_notify_cgroup_empty_event()