Home
last modified time | relevance | path

Searched refs:pid_file_pathspec (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/core/
Dservice.c148 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()
[all …]
Dservice.h193 PathSpec *pid_file_pathspec; member