- Update Cargo.toml version to 1.0.0 - Revise README.md: document available CLI options (--config, --test-processing-delay), update config format - Update INSTALL.md: change user from gemini to pollux, simplify certificate setup, remove Let's Encrypt instructions - Update systemd service user to pollux - Add comprehensive CHANGELOG.md documenting all v1.0.0 features - Remove references to eliminated CLI options (--root, --cert, --key, --host, --port) Key features in v1.0.0: - Rate limiting with configurable concurrent requests - Comprehensive config validation and error handling - Custom logging system with structured output - Security features: path traversal protection, URI validation - Systemd integration and complete installation guide - Full test suite (22 tests) with zero warnings
25 lines
No EOL
764 B
Desktop File
25 lines
No EOL
764 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 /etc/letsencrypt/live/example.com /var/www/example.com
|
|
# NOTE: Adjust /etc/letsencrypt/live/example.com and /var/www/example.com to match your config
|
|
# The server needs read access to config, certificates, and content files
|
|
# NOTE: Adjust paths to match your config:
|
|
# - /etc/letsencrypt/live/example.com for Let's Encrypt certs
|
|
# - /var/www/example.com for your content root
|
|
# The server needs read access to config, certificates, and content files
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |