central/systemd/central-supervisor.service
Matt Johnson 31be17430d runtime: NWS adapter, supervisor, archive consumer, systemd units
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-15 21:29:08 +00:00

26 lines
602 B
Desktop File

[Unit]
Description=Central supervisor (adapter scheduler + publisher)
After=network-online.target nats-server.service postgresql@16-main.service
Wants=network-online.target
Requires=nats-server.service
[Service]
Type=simple
User=central
Group=central
WorkingDirectory=/opt/central
Environment=HOME=/opt/central
ExecStart=/opt/central/.venv/bin/central-supervisor
Restart=on-failure
RestartSec=5
LimitNOFILE=65536
NoNewPrivileges=true
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/central
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target