2019-07-05 22:25:07 -04:00
|
|
|
# Parallel Virtual Cluster API client daemon unit file
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description = Parallel Virtual Cluster API client daemon
|
|
|
|
After = network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type = simple
|
|
|
|
WorkingDirectory = /usr/share/pvc
|
|
|
|
Environment = PYTHONUNBUFFERED=true
|
2019-07-06 01:48:45 -04:00
|
|
|
Environment = PVC_CONFIG_FILE=/etc/pvc/pvc-api.yaml
|
2019-07-05 23:26:41 -04:00
|
|
|
ExecStart = /usr/share/pvc/pvc-api.py
|
2019-07-05 22:25:07 -04:00
|
|
|
Restart = on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|