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.
repoapi/debian/repoapi.repoapi-flower.service

17 lines
466 B

[Unit]
Description=Celery Flower Service
After=network.target rabbitmq-server.service
[Service]
Type=simple
User=www-data
Group=www-data
Environment=DJANGO_SETTINGS_MODULE=repoapi.settings.prod
WorkingDirectory=/usr/share/repoapi
ExecStart=/var/lib/repoapi/venv_prod/bin/celery -A repoapi flower \
--db=/var/lib/repoapi/flower --persistent --xheaders \
--url_prefix=flower --unix_socket=/var/lib/repoapi/celery-flower.socket
[Install]
WantedBy=multi-user.target