bundlewrap/bundles/infobeamer-cms/files/infobeamer-cms.service
Franziska Kunsmann 6292dd4c71
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
bundles/infobeamer-cms: config is toml now, deploy to src/
2021-12-24 15:30:25 +01:00

18 lines
493 B
Desktop File

[Unit]
Description=infobeamer-cms - upload custom info pages to info-beamer
After=network.target
[Service]
Type=exec
Environment=SETTINGS=/opt/infobeamer-cms/settings.toml
Restart=always
RestartSec=5s
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/src
[Install]
WantedBy=multi-user.target