From 48e6ff9645a4267652f39017c50cedf3eb760e2f Mon Sep 17 00:00:00 2001 From: Mark Eaton Date: Sun, 16 Nov 2025 01:20:44 -0500 Subject: [PATCH] docs: describe install step 2 in libguides-notifier.service Co-authored-by: aider (openai/gpt-5) --- systemd/libguides-notifier.service | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/systemd/libguides-notifier.service b/systemd/libguides-notifier.service index fb76139..265891f 100644 --- a/systemd/libguides-notifier.service +++ b/systemd/libguides-notifier.service @@ -1,6 +1,11 @@ # User-level systemd service to run main.py # Uses a wrapper script so the working directory and .env are found correctly. # Replace REPO_PATH automatically using the setup command we provide. +# Install step 2 does three things: +# - Replaces REPO_PATH with your repo’s absolute path in the COPY of this unit at ~/.config/systemd/user/ +# so ExecStart points to the correct scripts/run_main.sh. +# - Marks scripts/run_main.sh as executable (chmod +x). +# - Reloads user units (systemctl --user daemon-reload) so systemd picks up the updated service/timer. [Unit] Description=Run main.py (LibGuides notifier) Wants=network-online.target