talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/postgres-explain-visualizer/files/pev.service

24 lines
414 B
SYSTEMD
Raw Normal View History

# Ansible managed
[Unit]
Description=Postgres Explain Visualizer WSGI Service
Documentation=https://github.com/dalibo/pev2
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=pev
Group=pev
WorkingDirectory=/opt/pev
ExecStart=/opt/pev/venv/bin/gunicorn --config /opt/pev/gunicorn.py wsgi:app
Restart=on-failure
RestartSec=30
PrivateTmp=true
[Install]
WantedBy=multi-user.target