feat: add VPS deployment automation with systemd templates
Add automated VPS deployment system for remote database indexing: - Interactive setup script with SSH deployment - Systemd service/timer templates for daily scheduling - Indexing script with Docker container support - Comprehensive README documentation Features: - Automated daily indexing on remote servers - Optional Docker container deployment - Configurable paths, schedules, and incremental mode - Full monitoring and management commands - Troubleshooting guide for common issues Usage: cd deploy && ./setup-vps.sh 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
19
deploy/awesome-index.service.template
Normal file
19
deploy/awesome-index.service.template
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Awesome Database Indexing
|
||||
After=network.target docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User={{USER}}
|
||||
WorkingDirectory={{WORK_DIR}}
|
||||
ExecStart={{SCRIPT_PATH}}
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
# Restart on failure
|
||||
Restart=on-failure
|
||||
RestartSec=300
|
||||
|
||||
# Resource limits (optional)
|
||||
# MemoryMax=2G
|
||||
# CPUQuota=50%
|
||||
Reference in New Issue
Block a user