Refactor pvcnoded to use new configuration

This commit is contained in:
2023-11-26 15:33:23 -05:00
parent a593ee9c2e
commit bcc57638a9
3 changed files with 261 additions and 11 deletions

View File

@ -10,7 +10,7 @@ PartOf = pvc.target
Type = simple
WorkingDirectory = /usr/share/pvc
Environment = PYTHONUNBUFFERED=true
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcnoded.yaml
Environment = PVC_CONFIG_FILE=/etc/pvc/pvc.conf
ExecStartPre = /bin/sleep 2
ExecStart = /usr/share/pvc/pvcnoded.py
ExecStopPost = /bin/sleep 2