This assumes you will have pgAgent running on the same machine as your database.
- Install pgAgent via package manager
sudo apt update
| #!/bin/bash | |
| set -e | |
| # Important note: this will add a new patch release AND deploy | |
| if [ $# -lt 2 ]; then | |
| git fetch --all --tags | |
| # Interactively get info | |
| LATEST=$(git describe --tags production) | |
| read -e -p "Enter the version to patch, or press return for default [$LATEST]: " VERSION |
mkdir -p ~/.local/share/authy
cd ~/.local/share/authy