pidfile 144 include/crm_internal.h void crm_make_daemon(const char *name, gboolean daemonize, const char *pidfile); pidfile 880 lib/common/utils.c crm_make_daemon(const char *name, gboolean daemonize, const char *pidfile) pidfile 891 lib/common/utils.c rc = crm_pidfile_inuse(pidfile, 1, name); pidfile 893 lib/common/utils.c pid = crm_read_pidfile(pidfile); pidfile 894 lib/common/utils.c crm_err("%s: already running [pid %ld in %s]", name, pid, pidfile); pidfile 895 lib/common/utils.c printf("%s: already running [pid %ld in %s]\n", name, pid, pidfile); pidfile 909 lib/common/utils.c rc = crm_lock_pidfile(pidfile, name); pidfile 911 lib/common/utils.c crm_err("Could not lock '%s' for %s: %s (%d)", pidfile, name, pcmk_strerror(rc), rc); pidfile 912 lib/common/utils.c printf("Could not lock '%s' for %s: %s (%d)\n", pidfile, name, pcmk_strerror(rc), rc); pidfile 210 lib/common/watchdog.c char *pidfile = NULL; pidfile 218 lib/common/watchdog.c pidfile = crm_strdup_printf("%s/sbd.pid", HA_STATE_DIR); pidfile 222 lib/common/watchdog.c CRM_ASSERT(pidfile); pidfile 224 lib/common/watchdog.c sbd_pid = crm_pidfile_inuse(pidfile, 0, sbd_path); pidfile 239 lib/common/watchdog.c free(pidfile);