Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P155
Systemd unit for gunicorn+aiohttp objstorage deployment
Active
Public
Actions
Authored by
seirl
on Apr 24 2017, 2:44 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
[Unit]
Description=Remote Objstorage
[Service]
Type=simple
User=$objstorage_user
ExecStart=/usr/bin/gunicorn \
-w $gunicorn_workers \
--bind $gunicorn_listen_address:5003 \
--worker-class aiohttp.worker.GunicornWebWorker
'swh.objstorage.api.server.make_app("$objstorage_config")'
[Install]
WantedBy=multi-user.target
Event Timeline
seirl
created this paste.
Apr 24 2017, 2:44 PM
2017-04-24 14:44:33 (UTC+2)
Log In to Comment