#+title: Linux daemon #+subtitle: Directory watcher #+date: 2025H2 * Task :PROPERTIES: :CUSTOM_ID: task :END: Write a Linux (actually POSIX) daemon that reads configuration file, containing: directory, check time. After that, check the specified directory (recursively), at specified time intervals, for the presence/absence of file modifications and record the results in a log file, providing signal handling: =SIGHUP= -- for re-reading the configuration file, and =SIGTERM= -- for controlled termination of the daemon (recording output to the log file). * Unlicense :PROPERTIES: :CUSTOM_ID: unlicense :END: #+include: UNLICENSE verse