bundles/infobeamer-cms: config is toml now, deploy to src/
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
b39d87f33f
commit
6292dd4c71
7 changed files with 117 additions and 279 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue