vmcelery@.service 298 Bytes
Newer Older
Bach Dániel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit]
Description=vmcelery %I
BindsTo=node.service

[Service]
User=cloud
Group=cloud

KillSignal=SIGTERM
TimeoutStopSec=600
Restart=always

WorkingDirectory=/home/cloud/vmdriver
ExecStart=/bin/bash -c "source /etc/profile; workon vmdriver; exec celery -A vmcelery worker --loglevel=info -n %H.%I"