You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
369 B
16 lines
369 B
[Unit] |
|
Description=pySonnerie Frontend Web UI |
|
After=network.target |
|
|
|
[Service] |
|
Type=simple |
|
User=www-data |
|
Group=www-data |
|
WorkingDirectory=/opt/pySonnerie/frontend |
|
Environment=FRONTEND_BIND=0.0.0.0:5000 |
|
ExecStart=/opt/pySonnerie/frontend/.venv/bin/gunicorn --workers 2 --bind ${FRONTEND_BIND} wsgi:app |
|
Restart=on-failure |
|
RestartSec=3 |
|
|
|
[Install] |
|
WantedBy=multi-user.target
|
|
|