if (errno != ESRCH) {
fprintf(stderr, "\nI detected another daemon running with the same pid file.\n");
fprintf(stderr, "Please change the config file, or erase the %s\n",
if (errno != ESRCH) {
fprintf(stderr, "\nI detected another daemon running with the same pid file.\n");
fprintf(stderr, "Please change the config file, or erase the %s\n",