diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2024-08-02 01:23:26 -0700 | 
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2024-08-02 01:23:26 -0700 | 
| commit | 77e42ce4abe621f0d05dc7a45168b070c05a81dc (patch) | |
| tree | c277829f739a20943a221e9eec95f9e0e7842a2b /sh/upd | |
| parent | 85533eb33e61bd431a428f94f47fcb33964c33f6 (diff) | |
upd insp music() go first before pp upd finish and suspend
Diffstat (limited to 'sh/upd')
| -rwxr-xr-x | sh/upd | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -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 () { | 
