aboutsummaryrefslogtreecommitdiff
path: root/README.org
blob: 26bf240f87c9a50ab98af6367984c45b03ff444b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#+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