commit d0647d7a2eb0a1d2b1fee8972857c54350e26e3e parent 4979249bb75bc68fe41d57400a155ce40648a9b1 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 25 Jan 2021 08:44:47 +0100 sfeed_sync: run locally Diffstat:
M | .local/bin/sfeed_sync | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.local/bin/sfeed_sync b/.local/bin/sfeed_sync @@ -1,8 +1,6 @@ #!/bin/sh -key="$HOME/.ssh/id_rsa_sfeed" -ssh -i "$key" sfeed@adamsgaard.dk 'sfeed_update $HOME/.sfeed/sfeedrc.daily' -ssh -i "$key" sfeed@adamsgaard.dk 'sfeed_update $HOME/.sfeed/sfeedrc' -rsync -vaz -e "ssh -i $key" sfeed@adamsgaard.dk:~/.sfeed/ ~/.sfeed/ +sfeed_update $HOME/.sfeed/sfeedrc.daily +sfeed_update $HOME/.sfeed/sfeedrc if pgrep sfeed_curses >/dev/null 2>&1; then pkill -SIGHUP sfeed_curses else