Add configuration file, authentication, pywsgi

This commit is contained in:
2019-07-06 01:48:45 -04:00
parent 4f6d0baf6c
commit c638bdeaee
8 changed files with 202 additions and 57 deletions

View File

@ -8,7 +8,7 @@ After = network-online.target
Type = simple
WorkingDirectory = /usr/share/pvc
Environment = PYTHONUNBUFFERED=true
Environment = PVC_CONFIG_FILE=/etc/pvc/pvc.yaml
Environment = PVC_CONFIG_FILE=/etc/pvc/pvc-api.yaml
ExecStart = /usr/share/pvc/pvc-api.py
Restart = on-failure