diff --git a/client-api/pvc-api.service b/client-api/pvc-api.service new file mode 100644 index 00000000..0fbb2e35 --- /dev/null +++ b/client-api/pvc-api.service @@ -0,0 +1,16 @@ +# 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 +Environment = PVC_CONFIG_FILE=/etc/pvc/pvc.yaml +ExecStart = /usr/share/pvc/api.py +Restart = on-failure + +[Install] +WantedBy = multi-user.target