2020-02-08 19:16:19 -05:00
|
|
|
# Parallel Virtual Cluster Provisioner API provisioner worker unit file
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description = Parallel Virtual Cluster API provisioner worker
|
|
|
|
After = network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type = simple
|
|
|
|
WorkingDirectory = /usr/share/pvc
|
|
|
|
Environment = PYTHONUNBUFFERED=true
|
|
|
|
Environment = PVC_CONFIG_FILE=/etc/pvc/pvcapid.yaml
|
2020-02-18 12:20:42 -05:00
|
|
|
ExecStart = /usr/bin/celery worker -A pvcapid.flaskapi.celery --concurrency 1 --loglevel INFO
|
2020-02-08 19:16:19 -05:00
|
|
|
Restart = on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|