From 65c9315de436677f2b68891100b3bb7c23b9422c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 25 Aug 2020 10:23:02 -0300 Subject: Always restart pires-prod in nixos-switch.sh --- nixos-switch.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos-switch.sh') diff --git a/nixos-switch.sh b/nixos-switch.sh index 90f54cc..af3606d 100755 --- a/nixos-switch.sh +++ b/nixos-switch.sh @@ -14,6 +14,8 @@ rsync -avzP favicons/ "${TLD}:${DATA_ROOT}/favicons/" scp cgit-about.html "${TLD}:${GIT_ROOT}/about.html" scp bash-profile.sh "${TLD}:.bash_profile" +echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S systemctl restart pires-prod.service + # shellcheck disable=2050 if [[ true = false ]]; then echo Ugly hack to change TLS certificates permissions -- cgit v1.2.3