Files
web-log-monitor/systemd/web-log-monitor.service
AJ Isaacs e3ee9fc193 Replace config.py with .env for Docker-standard configuration
Config was a Python file baked into the image or bind-mounted, requiring
a rebuild or manual file management for any settings change. Now uses
env_file in docker-compose with os.environ.get() calls, so config
changes only need a container restart. Also filters Gitea traffic from
LLM analysis to prevent false positive reconnaissance alerts on normal
repository browsing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 19:29:09 -05:00

14 lines
322 B
Desktop File

[Unit]
Description=Web Log Security Monitor
After=network.target
[Service]
Type=oneshot
User=aj
ExecStart=/usr/bin/python3 /home/aj/web-log-monitor/web-log-monitor.py
WorkingDirectory=/home/aj/web-log-monitor
# Logging
StandardOutput=append:/var/log/web-log-monitor.log
StandardError=append:/var/log/web-log-monitor.log