From 86a117d614a4f8a0ef4ba080cfa68406de7e39c6 Mon Sep 17 00:00:00 2001 From: Samuel ORTION Date: Fri, 1 Jul 2022 07:31:53 +0200 Subject: [PATCH] Update documentation --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index f2c1bca..6494947 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,32 @@ sudo systemctl disable --now nbmrec.timer sudo make uninstall ``` +## Configuration +In [./usr/local/etc/nbmrec/nbmrec.conf], you can specify a start and end time: + +```text +START_TIME=22:00 +END_TIME=06:00 +``` + +If you change the start date, you should update the systemd timer `nbmrec.timer` accordingly: + +```text +#/etc/systemd/system/nbmrec.timer +[...] +OnCalendar=*-*-* 22:00 +[...] +``` + +Do not forget to reload systemd daemon after that: +```bash +sudo systemctl daemon-reload +``` + + + +You can also speci ## Reference