-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanthropic_daemon.service
More file actions
29 lines (25 loc) · 889 Bytes
/
Copy pathanthropic_daemon.service
File metadata and controls
29 lines (25 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[Unit]
Description=Anthropic Readings Daemon - Fetch, update, and render Anthropic readings to PDF
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/opt/anthropic-readings/.venv/bin/python /opt/anthropic-readings/daemon.py --once --config /opt/anthropic-readings/config.yaml
WorkingDirectory=/opt/anthropic-readings
Environment=HOME=/root
Environment=PATH=/opt/anthropic-readings/.venv/bin:/usr/local/bin:/usr/bin:/bin
Environment=PYTHONPATH=/opt/anthropic-readings
# Security hardening
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/anthropic-readings/outputs
ReadWritePaths=/opt/anthropic-readings/claude-cookbooks
ReadWritePaths=/opt/anthropic-readings/claude-courses
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=anthropic-daemon
[Install]
WantedBy=multi-user.target