Lines Matching refs:pid_file
364 s->pid_file = mfree(s->pid_file); in service_done()
863 if (s->pid_file) in service_dump()
866 prefix, s->pid_file); in service_dump()
970 if (!s->pid_file) in service_load_pid_file()
975 r = chase_symlinks(s->pid_file, NULL, CHASE_SAFE, NULL, &fd); in service_load_pid_file()
978 … "Potentially unsafe symlink chain, will now retry with relaxed checks: %s", s->pid_file); in service_load_pid_file()
982 r = chase_symlinks(s->pid_file, NULL, 0, NULL, &fd); in service_load_pid_file()
986 … "Can't open PID file %s (yet?) after %s: %m", s->pid_file, service_state_to_string(s->state)); in service_load_pid_file()
994 s->pid_file); in service_load_pid_file()
998 … return log_unit_full_errno(UNIT(s), prio, r, "Failed to parse PID from file %s: %m", s->pid_file); in service_load_pid_file()
1011 …ept PID outside of service control group, acquired through unsafe symlink chain: %s", s->pid_file); in service_load_pid_file()
1565 if (s->pid_file) in service_spawn_internal()
1566 if (asprintf(our_env + n_env++, "PIDFILE=%s", s->pid_file) < 0) in service_spawn_internal()
1886 if (s->pid_file) in service_enter_dead()
1887 (void) unlink(s->pid_file); in service_enter_dead()
3181 assert(s->pid_file); in service_retry_pid_file()
3217 assert(s->pid_file); in service_demand_pid_file()
3225 ps->path = strdup(s->pid_file); in service_demand_pid_file()
3712 if (s->pid_file) { in service_sigchld_event()
3740 if (s->pid_file) { in service_sigchld_event()