2023-11-15 19:13:48 -05:00
|
|
|
# Parallel Virtual Cluster Celery Worker daemon unit file
|
2020-02-08 19:16:19 -05:00
|
|
|
|
|
|
|
[Unit]
|
2023-11-15 19:13:48 -05:00
|
|
|
Description = Parallel Virtual Cluster Celery Worker daemon
|
2020-02-08 19:16:19 -05:00
|
|
|
After = network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type = simple
|
|
|
|
WorkingDirectory = /usr/share/pvc
|
|
|
|
Environment = PYTHONUNBUFFERED=true
|
2023-11-27 12:43:11 -05:00
|
|
|
Environment = PVC_CONFIG_FILE=/etc/pvc/pvc.conf
|
2023-11-15 19:13:48 -05:00
|
|
|
ExecStart = /usr/share/pvc/pvcworkerd.sh
|
2020-02-08 19:16:19 -05:00
|
|
|
Restart = on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|