pvc/api-daemon/pvcapid-worker.service

17 lines
477 B
SYSTEMD
Raw Normal View History

# 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
2021-06-13 14:55:39 -04:00
ExecStart = /usr/bin/celery --app pvcapid.flaskapi.celery worker --concurrency 1 --loglevel INFO
Restart = on-failure
[Install]
WantedBy = multi-user.target