Rename pvcapid-worker to pvcworkerd
This commit is contained in:
4
debian/pvc-daemon-api.install
vendored
4
debian/pvc-daemon-api.install
vendored
@ -4,7 +4,7 @@ api-daemon/pvc-api-db-upgrade usr/share/pvc
|
||||
api-daemon/pvcapid.sample.yaml usr/share/pvc
|
||||
api-daemon/pvcapid usr/share/pvc
|
||||
api-daemon/pvcapid.service lib/systemd/system
|
||||
api-daemon/pvcapid-worker.service lib/systemd/system
|
||||
api-daemon/pvcapid-worker.sh usr/share/pvc
|
||||
api-daemon/pvcworkerd.service lib/systemd/system
|
||||
api-daemon/pvcworkerd.sh usr/share/pvc
|
||||
api-daemon/provisioner usr/share/pvc
|
||||
api-daemon/migrations usr/share/pvc
|
||||
|
8
debian/pvc-daemon-api.postinst
vendored
8
debian/pvc-daemon-api.postinst
vendored
@ -10,13 +10,13 @@ if systemctl is-active --quiet pvcapid.service; then
|
||||
systemctl start pvcapid.service
|
||||
fi
|
||||
# Restart the worker daemon
|
||||
if systemctl is-active --quiet pvcapid-worker.service; then
|
||||
systemctl stop pvcapid-worker.service
|
||||
systemctl start pvcapid-worker.service
|
||||
if systemctl is-active --quiet pvcworkerd.service; then
|
||||
systemctl stop pvcworkerd.service
|
||||
systemctl start pvcworkerd.service
|
||||
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."
|
||||
echo "NOTE: The PVC client API daemon (pvcapid.service) and the PVC Worker daemon (pvcworkerd.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
|
||||
|
Reference in New Issue
Block a user