Services and User Management

An administrator edited the configuration file of a custom daemon named logshipd, which re-reads its configuration when it receives SIGHUP. The daemon must keep running without a restart, and its PID is not known. Which command applies the change?

Show the answer

Correct answerD. pkill -HUP logshipd

pkill -HUP finds the process by name and sends signal 1, which triggers the daemon to reload its configuration. SIGTERM asks the process to exit, so the daemon would stop instead of reloading.