configuration for gitea notifications
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
# lives at ~/.config/systemd/user/libguides-notifier.service
|
||||
|
||||
# User-level systemd service to run main.py
|
||||
# Uses a wrapper script so the working directory and .env are found correctly.
|
||||
# Configuration is via ~/.config/libguides-notifier.env, no in-file path edits needed.
|
||||
# Create that file with one line:
|
||||
# REPO_PATH=/absolute/path/to/this/repo
|
||||
# REPO_PATH=/absolute/path/to/project
|
||||
# Then run:
|
||||
# systemctl --user daemon-reload
|
||||
[Unit]
|
||||
Description=Run main.py (LibGuides notifier)
|
||||
OnFailure=notify-gitea-failure@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
Reference in New Issue
Block a user