Files
SKEEN-Proyecto/infra/provision/templates/service.tmpl

20 lines
533 B
Cheetah

[Unit]
Description=Odoo ${NOMBRE} (${SLUG}) — skeen-odoo venv, instancia white-label
After=network.target postgresql.service
Wants=postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/root/skeen-odoo
# Instancia aislada: sin SUPABASE_URL / WACRM_API_* / HERMES_BRIDGE_URL.
# Los endpoints WACRM quedan sin credenciales (escenario B) y el vhost nginx
# corta la ruta con 403.
ExecStart=${ODOO_PYTHON} ${ODOO_BIN} -c ${CONF_PATH}
Restart=always
RestartSec=5
TimeoutStartSec=120
[Install]
WantedBy=multi-user.target