Lines Matching refs:daemon_log
45 daemon_log(LOG_ERR, "Failed to reset all signal handlers: %s", strerror(errno)); in main()
51 daemon_log(LOG_ERR, "Failed to unblock all signals: %s", strerror(errno)); in main()
66 daemon_log(LOG_WARNING, "Failed to kill daemon: %s", strerror(errno)); in main()
73 daemon_log(LOG_ERR, "Daemon already running on PID file %u", pid); in main()
79 daemon_log(LOG_ERR, "Failed to create pipe."); in main()
95 … daemon_log(LOG_ERR, "Could not recieve return value from daemon process: %s", strerror(errno)); in main()
99 daemon_log(ret != 0 ? LOG_ERR : LOG_INFO, "Daemon returned %i as return value.", ret); in main()
108 daemon_log(LOG_ERR, "Failed to close all file descriptors: %s", strerror(errno)); in main()
117 daemon_log(LOG_ERR, "Could not create PID file (%s).", strerror(errno)); in main()
124 daemon_log(LOG_ERR, "Could not register signal handlers (%s).", strerror(errno)); in main()
135 daemon_log(LOG_INFO, "Sucessfully started"); in main()
152 daemon_log(LOG_ERR, "select(): %s", strerror(errno)); in main()
162 daemon_log(LOG_ERR, "daemon_signal_next() failed: %s", strerror(errno)); in main()
172 daemon_log(LOG_WARNING, "Got SIGINT, SIGQUIT or SIGTERM."); in main()
177 daemon_log(LOG_INFO, "Got a HUP"); in main()
187 daemon_log(LOG_INFO, "Exiting..."); in main()