# HERALD — systemd unit for SOLARGOD. serve.py binds 127.0.0.1 only; nginx # reverse-proxies the public domain to it (mirror of the godstrument.pro shape). # Install: sudo cp deploy/solargod.service /etc/systemd/system/ && sudo systemctl enable --now solargod [Unit] Description=SOLARGOD orrery — serve.py (static + JPL Horizons/SBDB/CAD proxy + disk cache) After=network.target [Service] Type=simple User=www-data WorkingDirectory=/opt/solargod ExecStart=/usr/bin/python3 /opt/solargod/serve.py 8147 Restart=on-failure RestartSec=3 # serve.py writes its disk cache under WorkingDirectory/cache — keep it writable. [Install] WantedBy=multi-user.target