mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-07-04 12:03:13 +02:00
Extracted from testsAndMisc monorepo. Changes: - Rewrote imports from python_pkg.steam_backlog_enforcer.* → steam_backlog_enforcer.* - Moved run.sh, install.sh, README.md, service file to repo root - Added standalone pyproject.toml, requirements.txt, .pre-commit-config.yaml, .gitignore - Added GitHub Actions CI workflows (tests + pre-commit) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
477 B
Desktop File
20 lines
477 B
Desktop File
[Unit]
|
|
Description=Steam Backlog Enforcer
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/steam-backlog-enforcer
|
|
ExecStart=/usr/bin/python3 -m steam_backlog_enforcer.main enforce
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=PYTHONUNBUFFERED=1
|
|
Environment=PYTHONPATH=/opt/steam-backlog-enforcer
|
|
Environment=HOME=/home/kuhy
|
|
# Hardening: enforcer must not be easily killed.
|
|
OOMScoreAdjust=-900
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|