demo/sverigekartan/rpxy.service
# Example systemd USER unit for the rpxy front of Sverigekartan (https on :8443; the
# host forwards 443 here). Config: rpxy.toml beside this file, copied to the path below.
# cp rpxy.service ~/.config/systemd/user/ && systemctl --user enable --now rpxy.service
[Unit]
Description=rpxy: https front for Sverigekartan (karta.gunnar.rs + aliases) on :8443 -> Streamlit :8501, korp-map :8765
After=network-online.target
[Service]
WorkingDirectory=<state-dir>
ExecStart=<bin-dir>/rpxy --config <state-dir>/config.toml
Environment=RUST_LOG=info
Restart=always
RestartSec=5
[Install]
WantedBy=default.target