pollux/dist/pollux.service
Jeena 0459cb6220 feat: Implement virtual hosting for multi-domain Gemini server
- Add hostname-based request routing for multiple capsules per server
- Parse virtual host configs from TOML sections ([hostname])
- Implement per-host certificate and content isolation
- Add comprehensive virtual host testing and validation
- Update docs and examples for multi-host deployments

This enables Pollux to serve multiple Gemini domains from one instance,
providing the foundation for multi-tenant Gemini hosting.
2026-01-22 02:38:09 +00:00

23 lines
No EOL
529 B
Desktop File

[Unit]
Description=Pollux Gemini Server
After=network.target
Wants=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/pollux
Restart=on-failure
RestartSec=5
User=pollux
Group=pollux
NoNewPrivileges=yes
ProtectHome=yes
ProtectSystem=strict
ReadOnlyPaths=/etc/pollux /var/gemini
# NOTE: Adjust paths to match your config:
# - /etc/pollux for config and TLS certificates
# - /var/gemini for your content root
# The server needs read access to config, certificates, and content files
[Install]
WantedBy=multi-user.target