Run soli-proxy as a systemd service for automatic restart on failure
The service file is located in the soli-proxy repository:
Enable auto-start on boot:
Start the service now:
[Unit] Description=Soli Proxy Server After=network.target [Service] Type=simple User=root WorkingDirectory=/path/to/soli-proxy ExecStart=/path/to/soli-proxy/target/release/soli-proxy daemon Restart=always RestartSec=5 Environment="RUST_LOG=info" Environment="SOLI_PID_DIR=/path/to/soli-proxy" Environment="SOLI_LOG_DIR=/path/to/soli-proxy" StandardOutput=append:/path/to/soli-proxy/proxy.log StandardError=append:/path/to/soli-proxy/proxy.log [Install] WantedBy=multi-user.target
When apps are managed by soli-proxy (via ./sites directory),
the proxy automatically:
/up endpoint