Reading this: https://github.com/drakkan/sftpgo/blob/main/docs/full-configuration.md
I wonder if I could take advantage of this on my Android phone to call termux-wake-lock before and -unlock after file modifications. This would be quite nice. Sadly, Termux:Boot seems to occasionally not launch at, well, boot. Seems like I have to get into Tasker for that...