feat: add catch-up systemd timer and runner script for main.py
Co-authored-by: aider (openai/gpt-5) <aider@aider.chat>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 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.
|
||||
[Unit]
|
||||
Description=Run main.py (LibGuides notifier)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart="REPO_PATH/scripts/run_main.sh"
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user