From 77e42ce4abe621f0d05dc7a45168b070c05a81dc Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 2 Aug 2024 01:23:26 -0700 Subject: upd insp music() go first before pp upd finish and suspend --- sh/upd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sh') diff --git a/sh/upd b/sh/upd index 5cfe8f3..90b55a3 100755 --- a/sh/upd +++ b/sh/upd @@ -6,6 +6,8 @@ die () { } all () { + # pp maybe finish upd -a first and start to suspend, and it cause insp music() failed to rsync to pp, so I need to finish rsync to ssh before pp finish upd, so I put music() here, not perfect but good enough + [ "$hostname" = xyzinsp ] && music # monthly_misc() needs to use qbittorrent-nox APIs, so I need to restart qbt before that, so I put qb() at top here, not perfect but good enough if [ "$hostname" = xyzia ]; then qb @@ -21,7 +23,6 @@ all () { if [ "$hostname" = xyzinsp ] || [ "$hostname" = xyzpp ]; then userjs fi - [ "$hostname" = xyzinsp ] && music } backup () { -- cgit v1.2.3-70-g09d2