Add recipe Gemini proxy service

This commit is contained in:
“Naeel”
2026-08-29 02:17:25 +03:00
parent df5afcec8f
commit 17def7789b
7 changed files with 149 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
[Unit]
Description=Minimal recipe Gemini proxy
After=network-online.target
Wants=network-online.target
[Service]
User=recipe
Group=recipe
WorkingDirectory=/opt/recipe
EnvironmentFile=/etc/recipe/recipe.env
ExecStart=/opt/recipe/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8770 --timeout 200 app:app
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
[Install]
WantedBy=multi-user.target