Home
last modified time | relevance | path

Searched refs:pid_file (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/sysv-generator/
Dsysv-generator.c52 char *pid_file; member
69 free(s->pid_file); in free_sysvstub()
164 yes_no(!s->pid_file)); in generate_unit_file()
166 if (s->pid_file) { in generate_unit_file()
169 t = specifier_escape(s->pid_file); in generate_unit_file()
524 r = free_and_strdup(&s->pid_file, fn); in load_sysv()
/systemd-251/src/core/
Dservice.c364 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()
[all …]
Ddbus-service.c198 … SD_BUS_PROPERTY("PIDFile", "s", NULL, offsetof(Service, pid_file), SD_BUS_VTABLE_PROPERTY_CONST),
494 free_and_replace(s->pid_file, n); in bus_service_set_transient_property()
495 unit_write_settingf(u, flags, name, "%s=%s", name, strempty(s->pid_file)); in bus_service_set_transient_property()
Dservice.h114 char *pid_file; member
Dload-fragment-gperf.gperf.in381 …rse_pid_file, 0, offsetof(Service, pid_file)
/systemd-251/src/systemctl/
Dsystemctl-show.c204 const char *pid_file; member
1907 … "s", NULL, offsetof(UnitStatusInfo, pid_file) … in show_one()
/systemd-251/test/test-network/
Dsystemd-networkd-tests.py517 def stop_by_pid_file(pid_file): argument
518 if os.path.exists(pid_file):
519 with open(pid_file, 'r') as f:
532 os.remove(pid_file)