Install sample configs to /usr/share/pvc instead
Also clean up the old versions in the postinst as they are obsolete and not needed going forward. These only ever served as reference for a manual installation which itself is long-obsoleted, and thus can be put somewhere less "important".
This commit is contained in:
3
debian/pvc-daemon-api.postinst
vendored
3
debian/pvc-daemon-api.postinst
vendored
@ -18,3 +18,6 @@ fi
|
||||
if [ ! -f /etc/pvc/pvcapid.yaml ]; then
|
||||
echo "NOTE: The PVC client API daemon (pvcapid.service) and the PVC provisioner worker daemon (pvcapid-worker.service) have not been started; create a config file at /etc/pvc/pvcapid.yaml, then run the database configuration (/usr/share/pvc/pvc-api-db-upgrade) and start them manually."
|
||||
fi
|
||||
|
||||
# Clean up any old sample configs
|
||||
rm /etc/pvc/pvcapid.sample.yaml || true
|
||||
|
Reference in New Issue
Block a user