Created
September 27, 2024 11:07
-
-
Save CHERTS/2331ed367ff208fb20a207f4196efa88 to your computer and use it in GitHub Desktop.
Install latest pgSCV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -qO - $(OS=$(uname -s | tr '[:upper:]' '[:lower:]'); ARCH=$(uname -p | sed 's/x86_64/amd64/g'); wget https://api.github.com/repos/CHERTS/pgscv/releases/latest -qO - | grep -wo "https.*${OS}_${ARCH}.tar.g | |
z") | tar xzf - -C /tmp && \ | |
mv /tmp/pgscv.yaml /etc 2>/dev/null && \ | |
mv /tmp/pgscv.service /etc/systemd/system 2>/dev/null && \ | |
mv /tmp/pgscv.default /etc/default/pgscv 2>/dev/null && \ | |
mv /tmp/pgscv /usr/sbin 2>/dev/null && \ | |
chown postgres:postgres /etc/pgscv.yaml 2>/dev/null && \ | |
systemctl daemon-reload && \ | |
systemctl enable pgscv --now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment