diff options
Diffstat (limited to 'nixos-switch.sh')
-rwxr-xr-x | nixos-switch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |