managercelery@.service 418 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit]
Description=CIRCLE %I
BindsTo=manager.service

[Service]
User=cloud
Group=cloud

KillSignal=SIGTERM
TimeoutStopSec=600
Restart=always

WorkingDirectory=/home/cloud/circle/circle
ExecStartPre=/bin/bash -c "source /etc/profile; workon circle; celery -f --app=manager.%I purge"
Your Name committed
15
ExecStart=/bin/bash -c "source /etc/profile; workon circle; exec celery --app=manager.%I worker --loglevel=debug --hostname=%I -B -c 3"