Reference Airship manifests, CICD, and reference architecture.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
506 B

set -ex
sudo chmod 700
sudo cp /opt
cat > ./patroni_endpoint_cleaner.service << EOF
Description=Helper script for initial upgrade to HA Postgres
sudo mv patroni_endpoint_cleaner.service /lib/systemd/system/
sudo systemctl restart patroni_endpoint_cleaner
sudo systemctl enable patroni_endpoint_cleaner
sudo systemctl daemon-reload