bundles/infobeamer-cms: config is toml now, deploy to src/
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-12-24 15:28:36 +01:00
parent b39d87f33f
commit 6292dd4c71
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 117 additions and 279 deletions

View file

@ -4,15 +4,15 @@ After=network.target
[Service]
Type=exec
Environment=SETTINGS=settings.cfg
Environment=SETTINGS=/opt/infobeamer-cms/settings.toml
Restart=always
RestartSec=5s
ExecStart=/usr/bin/gunicorn frontend:app -b 127.0.0.1:${PORT} -w ${WORKERS} -t 120 -k gevent --max-requests=1000
ExecStart=/opt/infobeamer-cms/venv/bin/gunicorn frontend:app -b 127.0.0.1:8000 -w ${workers} -t 120 -k gevent --max-requests=1000
# You may have to adjust these settings
User=infobeamer-cms
Group=infobeamer-cms
WorkingDirectory=/opt/infobeamer-cms
WorkingDirectory=/opt/infobeamer-cms/src
[Install]
WantedBy=multi-user.target