diff options
| author | 2026-11-10 09:07:29 +0000 | |
|---|---|---|
| committer | 2026-11-10 09:11:50 +0000 | |
| commit | 6a7a6c4d82d26043c3fdf87b1a086ab4513a4062 (patch) | |
| tree | a0e3aa049e39f38ad32a5e0448d97d36840fb294 /README.org | |
| download | lab-03-6a7a6c4d82d26043c3fdf87b1a086ab4513a4062.tar.gz | |
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/README.org b/README.org new file mode 100644 index 0000000..26bf240 --- /dev/null +++ b/README.org | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #+title: Linux daemon | ||
| 2 | #+subtitle: Directory watcher | ||
| 3 | #+date: 2025H2 | ||
| 4 | |||
| 5 | * Task | ||
| 6 | :PROPERTIES: | ||
| 7 | :CUSTOM_ID: task | ||
| 8 | :END: | ||
| 9 | Write a Linux (actually POSIX) daemon that reads configuration file, | ||
| 10 | containing: directory, check time. After that, check the specified | ||
| 11 | directory (recursively), at specified time intervals, for the | ||
| 12 | presence/absence of file modifications and record the results in a log | ||
| 13 | file, providing signal handling: =SIGHUP= -- for re-reading the | ||
| 14 | configuration file, and =SIGTERM= -- for controlled termination of the | ||
| 15 | daemon (recording output to the log file). | ||
| 16 | |||
| 17 | * Unlicense | ||
| 18 | :PROPERTIES: | ||
| 19 | :CUSTOM_ID: unlicense | ||
| 20 | :END: | ||
| 21 | #+include: UNLICENSE verse | ||
