Move to YAML config and allow split functions
1. Move to a YAML-based configuration format instead of the original INI-based configuration to facilitate better organization and readability. 2. Modify the daemon to be able to operate in several modes based on configuration flags. Either networking or storage functions can be disabled using the configuration, allowing the PVC system to be used only for hypervisor management if required.
This commit is contained in:
@ -7,7 +7,7 @@ After = network-online.target libvirtd.service zookeeper.service mariadb.service
|
||||
Type = simple
|
||||
WorkingDirectory = /usr/share/pvc
|
||||
Environment = PYTHONUNBUFFERED=true
|
||||
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcd.conf
|
||||
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcd.yaml
|
||||
ExecStart = /usr/share/pvc/pvcd.py
|
||||
Restart = never
|
||||
|
||||
|
Reference in New Issue
Block a user