Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 4541@bnt-lap001 Assistant-Session: 2099b3aa-d7d9-49a9-ab4e-fa8b7d0e39e8
17 lines
619 B
Desktop File
17 lines
619 B
Desktop File
[Unit]
|
|
Description=Check MAS evidence archive age (stale after 26h) and local ciphertext hash
|
|
OnFailure=mas-evidence-alert@%n.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
UMask=0077
|
|
ExecStart=/opt/railiance-platform/backup-venv/bin/python /opt/railiance-platform/mas-backup/mas_evidence_backup.py freshness
|
|
# Replay any notice still pending after a hub outage. Never fails the check.
|
|
ExecStartPost=-/usr/bin/python3 /opt/railiance-platform/mas-backup/mas_evidence_notify.py
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
StateDirectory=mas-evidence-backup/notifications
|
|
StateDirectoryMode=0700
|